- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I try to build a cycle-based Embree application with Cmake as attached below:
While the code I was running was one of the examples codes online
After Cmake generates the make file in the build directory, I try to build the code using make command the following error occurs:
/mnt/d/Embree_helloWorld/embreeTest.cpp:108:22: error: use of undeclared identifier 'rtcNewSYCLDevice'
RTCDevice device = rtcNewSYCLDevice(sycl_context, "");
^
/mnt/d/Embree_helloWorld/embreeTest.cpp:109:3: error: use of undeclared identifier 'rtcSetDeviceSYCLDevice'
rtcSetDeviceSYCLDevice(device,sycl_device);
^
/mnt/d/Embree_helloWorld/embreeTest.cpp:303:32: error: use of undeclared identifier 'rtcSYCLDeviceSelector'
sycl_device = sycl::device(rtcSYCLDeviceSelector);
^
/mnt/d/Embree_helloWorld/embreeTest.cpp:306:5: error: use of undeclared identifier 'embree'
embree::printAllSYCLDevices();
^
4 errors generated.
gmake[2]: *** [CMakeFiles/HELLOEMBREE.dir/build.make:76: CMakeFiles/HELLOEMBREE.dir/embreeTest.cpp.o] Error 1
gmake[1]: *** [CMakeFiles/Makefile2:83: CMakeFiles/HELLOEMBREE.dir/all] Error 2
gmake: *** [Makefile:91: all] Error 2
here is platform information:
System: window11 wsl2
cmake version: 3.22.1
dpcpp version: Intel(R) oneAPI DPC++/C++ Compiler 2023.1.0 (2023.1.0.20230320)
Thanks in advance cheers
- Tags:
- cmake embree sycl
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Thanks for posting on Intel communities.
We would suggest you to post your Intel Embree related query in Intel® Embree Ray Tracing Kernels forum. So, Kindly raise a new thread.
Thanks & Regards,
Vankudothu Vaishnavi.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Hope you have posted your query in Intel® Embree Ray Tracing Kernels forum. We are going ahead and closing this thread. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.
Thanks & Regards,
Vankudothu Vaishnavi
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page