Intel® oneAPI Base Toolkit
Support for core tools and libraries to build and deploy high-performance data-centric applications
318 Discussions

Missing header path for new DPC++ Console Application

Daniel_D
Beginner
667 Views

Hi,

 

I created a new DPC++ Console Application with the VS2019 wizzard. Unfortunatley the compiler cannot find the CL/sycl.hpp header file because the path "C:\Program Files (x86)\Intel\oneAPI\compiler\2021.4.0\windows\include\sycl" to access the sycl headers is not listed as include directory. Is this expected and I have to add it manually? 

 

These are the predefined include directories for oneAPI

C:\Program Files (x86)\Intel\oneAPI\tbb\2021.4.0\include
C:\Program Files (x86)\Intel\oneAPI\ipp\2021.4.0\include
C:\Program Files (x86)\Intel\oneAPI\compiler\2021.4.0\windows\include
C:\Program Files (x86)\Intel\oneAPI\compiler\2021.4.0\windows\include\intel64
C:\Program Files (x86)\Intel\oneAPI\compiler\2021.4.0\windows\compiler\include

 

 

Is there already a workaround to use oneAPI 2021.4 with VS 2022?

 

Thanks,

Daniel

 

0 Kudos
4 Replies
VarshaS_Intel
Moderator
622 Views

Hi,


Thanks for reaching out to us.


>>Is this expected and I have to add it manually? 

If you are using supported versions of Visual Studio with Intel oneAPI then it will include all the required header file paths automatically. 

Maybe you can repair or reinstall the Intel oneAPI Toolkit to get proper integration with supported versions of Visual Studio.


>> Is there already a workaround to use oneAPI 2021.4 with VS 2022?

Regarding the support for VS2022, we cannot comment anything on it for now. Please look forward to any updates in the future release notes.


As of now please find the below link for the Intel OneAPI Compatibility with Visual Studio.

https://www.intel.com/content/www/us/en/developer/articles/reference-implementation/intel-compilers-...


Thanks & Regards

Varsha



VarshaS_Intel
Moderator
567 Views

Hi,


We haven't heard back from you. Could you please provide an update on your issue?


Thanks & Regards

Varsha


Daniel_D
Beginner
562 Views

Hi,

 

Removing older oneAPI toolkits (2021.3) cand reinstallation of VS2019 and oneAPI 2021.4 worked. All include-paths are set now.

 

Thanks.

VarshaS_Intel
Moderator
556 Views

Hi,


Glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks & Regards

Varsha


Reply