DiligentSamples icon indicating copy to clipboard operation
DiligentSamples copied to clipboard

Tutorials 20, 21, 22 and 24 don't start from the installation folder on Windows

Open TheMostDiligent opened this issue 2 years ago • 1 comments

The reason is because dxcompiler.dll and dxil.dll are not installed into the folder.

The problem here is that both dlls reside in Windows SDK folder, and there is no way for CMake to know its location. For build, the dlls are copied in Visual Studio post-build step using the $(WindowsSdkDir) VS variable. This variable can't be used in install.

It should be possible to read the path from the environment variable similar to $ENV{WindowsSDKVersion}

TheMostDiligent avatar Apr 03 '22 03:04 TheMostDiligent

https://github.com/DiligentGraphics/DiligentCore/issues/467 should fix this

TheMostDiligent avatar Mar 22 '24 06:03 TheMostDiligent