Developer Guide and Reference

ID 767253
Date 10/31/2024
Public
Document Table of Contents

Add the Compiler to Eclipse

This step is needed only if you are manually installing the Intel® oneAPI DPC++/C++ Compiler plug-in for Eclipse.

To add the Intel oneAPI DPC++/C++ Compiler product extension to your Eclipse configuration:

  1. Start Eclipse.
  2. Select Help > Install New Software.
  3. Next to the Work with field, click the Add button. The Add Repository dialog box opens.
  4. Click the Archive button and browse to the <install_dir>/compiler/<version>/share/ide_support/eclipse/compiler directory. Select the .zip file that starts with com.intel.compiler for C/C++ or com.intel.dpcpp.compiler for SYCL, then click OK.
  5. Select Intel® Software Development Tools > Intel® C++ Compiler Integration for C/C++ or Intel® oneAPI DPC++ Compiler Integration > Intel® oneAPI DPC++ Compiler Integration for SYCL, then click OK.
  6. Follow the installation instructions.
  7. When asked if you want to restart Eclipse, select Yes.

When Eclipse restarts, you can create and work with CDT projects that use the Intel oneAPI DPC++/C++ Compiler.