Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
TheMostDiligent opened this issue Apr 3, 2022 · 1 comment

Comments

@TheMostDiligent
Copy link
Contributor

TheMostDiligent commented Apr 3, 2022

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
Copy link
Contributor Author

DiligentGraphics/DiligentCore#467 should fix this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant