Configuring Microsoft Visual Studio* IDE

To configure the Intel® Code Builder for OpenCL™ API plug-in for Microsoft Visual Studio* IDE, do the following:

  1. In the Microsoft Visual Studio software, select Project > Properties.
  2. In the C/C++ > General property page, under Additional Include Directories, enter the full path to the directory where the OpenCL code header files are located:
    $(INTELOCLSDKROOT)\include
  3. In the Linker > General property page, under Additional Library Directories, enter the full path to the directory where the OpenCL code run-time import library file is located. For example, for 64-bit application:
    $(INTELOCLSDKROOT)\lib\x64
  4. In the Linker > Input property page, under Additional Dependencies, enter the name of the OpenCL ICD import library file OpenCL.lib.