Intel DPC++ 2024 compiled binary missing sycl7.dll and pi_win_proxy_loader.dll

214 Views Asked by At

I'm using the Intel(R) oneAPI DPC++ Compiler 2024 compiler to build my C++ code in Visual Studio:

The version I downloaded is:

When I run my app from within Visual Studio, it works. However, the debug or release version in the respective output directories miss DLLs from the Intel compiler directory (C:\Program Files (x86)\Intel\oneAPI\compiler\2024.0\bin).

For debug:

  • sycl7d.dll
  • pi_win_proxy_loaderd.dll

For release:

  • sycl7.dll
  • pi_win_proxy_loader.dll

Even if I copy those DLLs into the debug and release directories respectively, the application does not run standalone:
The application was unable to start correctly (0xc000007b). Click OK to close the application.

Is there anything else I'm missing or what should I do to make the application work outside of Visual Studio?

This is a related Intel forum post.

With this suggestion (despite being for Fortran), it gave me the following output on CMD:

C:\Program Files (x86)\Intel\oneAPI\debugger\2024.0\env>vars.bat
> was unexpected at this time.

Looks like the script isn't working as intended (yes, I also defined the environment variable VS2022INSTALLDIR=C:\Program Files\Microsoft Visual Studio\2022\Preview because it wasn't automatically detected by the Intel oneAPI command prompt)

When building with the MSVC compiler, there are no such issues.

1

There are 1 best solutions below

0
BullyWiiPlaza On BEST ANSWER

This issue has been resolved by installing the Intel Compiler Runtime since that will provide the missing DLLs and so on. For more information, see this answer.