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

ID 766891
Date 6/30/2025
Public

Configure Your System

Install CMake* to Build Most Samples

The next section applies if you plan to use Microsoft Visual Studio* for cross-platform development. Although the CMake is not required by the oneAPI tools and toolkits, many oneAPI samples are provided as CMake projects and require CMake to build them. You can find this information in the sample's README.md.

Refer to CMake.org for installation instructions. For a list of components that support CMake, see Use CMake with oneAPI Applications.

To build oneAPI samples with CMake on Windows using Microsoft Visual Studio*, ensure the Desktop Development with C++ workload is installed in Visual Studio. This workload includes CMake and the necessary tools and compilers. To install the workload, use 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.

NOTE:
To run samples with Visual Studio 2019, you need version 16.4.0 or later.

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.

GPU Drivers or Plug-ins (Optional)

You can develop oneAPI applications using C++ and SYCL* that run on Intel, AMD*, or NVIDIA* GPUs.

To develop and run applications for specific GPUs, first install the corresponding drivers or plug-ins:

Next Step

Run a sample project using one of these methods:

NOTE:
An internet connection is required to download the samples. If you are using an offline system, download the samples from a system connected to the internet and transfer the samples to your offline system. For offline IDE development, download the samples from Intel® oneAPI Toolkit Code Samples. and extract them to a directory. Then open the sample with your IDE.