Get Started with the Intel® oneAPI Base Toolkit for Windows*

ID 766891
Date 11/07/2023
Public

Configure Your System

Intel® oneAPI Base Toolkit

Install CMake* to Build Samples (optional)

This optional section only applies if you plan to use Microsoft Visual Studio for cross-platform development. Many of the samples require CMake in such a development environment.

CMake is not required to use the oneAPI tools and toolkits. Most of the oneAPI samples that can be built and run on Microsoft Windows* include a Visual Studio project file to manage the build process.

To build those samples on Windows that require CMake and do not include a Visual Studio project file, you may need to add some additional Visual Studio workloads as part of your Visual Studio installation.

The Visual Studio CMake tools for Windows are part of the Desktop development with C+ workload and the Linux Development with C+ workload. Both of these Visual Studio workloads are required for cross-platform CMake development on Windows. To install these workloads, see the following links:

If you installed an Intel® oneAPI toolkit before installing Visual Studio, the oneAPI plug-ins for Visual Studio may be absent. In this case, install Visual Studio and then refer to the Troubleshooting section of this documentation for instructions on how to fix or add the missing oneAPI plug-ins for Visual Studio.

For more information about CMake, refer to CMake.org.

For Microsoft Windows*, the Visual Studio* C++ Development tools must be installed, including the CMake tools in the Desktop development with C++ workload. Installing the Linux Development with C++ workload will not provide the necessary tools to run all samples. Use the links below to install Visual Studio and CMake.

If you already installed an Intel® oneAPI toolkit before installing Visual Studio, the oneAPI plug-ins for Visual Studio will be absent. If this happens, install Visual Studio and CMake using the links below. Then refer to the Troubleshooting section for instructions on how to fix the plug-ins.

Visual C++ Tools for CMake is installed by default as part of the Desktop Development with C++ workload.

For more information about CMake, refer to CMake.org.

For GPU Users, Download and Install GPU Drivers

  1. Download the Intel® Driver & Support Assistant (Intel® DSA) by following the link and clicking Download now. The Intel DSA tool will help you identify and install the correct driver for your system.
  2. Run the Intel® Driver & Support Assistant Application and follow the on-screen prompts to install the latest version of Intel Graphics - Windows 10 or 11 DCH Drivers.
  3. To troubleshoot any installation issues (or to manually install a driver without the use of the Intel DSA), see these step-by-step instructions on downloading and installing an Intel® Graphics Driver in Windows® 10 & Windows 11.

Next Step

Run a sample project using one of these methods: