maierfelix/nvk

Non default install location of VulkanSDK

DiThi opened this issue · 6 comments

DiThi commented

I've installed VulkanSDK in D: instead of C: and it couldn't find vulkan.h. It needs an option or some way of detecting where it is.

DiThi commented

Oh wait the problem may be that I have version 1.1.92.1 instead of 1.1.92

I didn't put "sub-version" support into the installer yet - 1.1.92 works while 1.1.92.x doesn't.

To change the VulkanSDK path to your needs, edit this generator template file and change the highlighted line to D:/VulkanSDK.

Then run:
npm run generate --vkversion=1.1.92
npm run build --vkversion=1.1.92

I might put a settings entry into the package.json file to change the default VulkanSDK path.

DiThi commented

For now I just added symbolic links or directory junctions to libraries/headers where the compiler and scripts could find them.

Thank you!

Note: Lunar SDK Releases have version inconsistency with Vulkan-Docs Releases

Should be fixed in v0.1.7 48c552a
The vulkan sdk path is now gathered from the environment variables and subversions are correctly handled as well - @DiThi If you got some time, please approve that it's working for you now

DiThi commented

Yes, it is working now without the hacks. Thank you!