DiligentSamples
DiligentSamples copied to clipboard
Tutorials 20, 21, 22 and 24 don't start from the installation folder on Windows
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}
https://github.com/DiligentGraphics/DiligentCore/issues/467 should fix this