- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Thanks & Regards
Varsha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We haven't heard back from you. Could you please provide an update on your issue?
Thanks & Regards
Varsha
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Removing older oneAPI toolkits (2021.3) cand reinstallation of VS2019 and oneAPI 2021.4 worked. All include-paths are set now.
Thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page