Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
876 ディスカッション

Unable to run program using MS visual studio when using library built with DPC++ compiler

student4
ビギナー
2,436件の閲覧回数

Hi,

 

I have C++ library built using DPC++ compiler. I used this library in a test project file. I then built the test project file using Microsoft visual studio compiler(Please note that the test project contains only C++ libraries). But when I tried to run the program, it throws the error sycl.dll not found.

I appreciate your assistance on this regard.

It works perfectly when the test project is built using DPC++ compiler.

 

Thank you.

0 件の賞賛
3 返答(返信)
DitiD_Intel
モデレーター
2,412件の閲覧回数

Hi,


Thank you for posting in Intel Communities.


>> Using Microsoft visual studio compiler ... But when I tried to run the program, it throws the error sycl.dll not found.


As this issue is related to non intel compilers, we would not be able to provide support for that.


>> I have C++ library built using DPC++ compiler.


Additionally, if your cpp library doesn't contain any sycl functions then instead of using dpcpp compiler to build the library, I'd suggest you to try it out with icx or icl.


>>It works perfectly when the test project is built using DPC++ compiler.


The Intel® oneAPI DPC++/C++ Compiler compiles C++-based SYCL* source files for a wide range of compute accelerators. That is the reason you are not getting error when trying with dpcpp compiler.


https://www.intel.com/content/www/us/en/develop/documentation/get-started-with-dpcpp-compiler/top.html


Thanks & Regards,

Ditipriya.


DitiD_Intel
モデレーター
2,382件の閲覧回数

Hi,


We've not heard back from you. Can you please provide an update?


Thanks and Regards,

Ditipriya.



DitiD_Intel
モデレーター
2,345件の閲覧回数

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 & Regards,

Ditipriya.



返信