- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I want to build a project in DPC++ with CMake in the DevCloud.
This is the error I encountered.
And this is the CMakeLists.txt file.
I cannot figure out why this bug emerge.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thank you for posting in Intel Communities.
Please try the below commands before building the cmake file.
source /opt/intel/oneapi/compiler/latest/env/vars.sh
export PATH=$PATH:/opt/intel/oneapi/compiler/latest/linux/bin-llvm/
If this resolves your issue, make sure to accept this as a solution. This would help others with similar issue.
Thank you
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good evening.
Unluckily , It triggered another error.
Is there any libs I have not installed?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Please make sure that you source oneAPI environment variables before building the sample using the below command:
source /opt/intel/oneapi/setvars.sh --force
After this command you can export the below commands
source /opt/intel/oneapi/compiler/latest/env/vars.sh
export PATH=$PATH:/opt/intel/oneapi/compiler/latest/linux/bin-llvm/
If the issue still persists, please share the sample reproducer code and the exact steps you followed.
Also share the output of below 2 commands:
echo $PATH
echo $LD_LIBRARY_PATH
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have not heard back from you. Could you please give us an update? Is your issue resolved?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
We have not heard back from you. This thread will no longer be monitored by Intel. If you need further assistance, please post a new question.
Thanks
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page