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
About vs2022 and Vulkan build error on windows #30
Comments
And it is occur on windows 11 |
Did you setup the environment variable VULKAN_SDK ? |
Well, i didn't set it. Based on the https://ogldev.org/www/tutorial50/tutorial50.html , it tell me that "I suggest you install the SDK under c:\VulkanSDK to make it compatible with the Visual Studio solution that I provide". So ,how can i set it? |
Yes it looks ok. Can you please provide the full build log of the VulkanCore library? |
Well i have only see the tutorial 50 video. And i find that i don't have VulkanCore.lib at .\ogldev\Windows\Lib. Is this matter? |
I mention there are some different between the github code and the video. And how can i get the OGLCompilerd.lib and VulkanCore.lib' ? |
The differences are because the code is constantly evolving. In the video description you can find a tag (usually VULKAN_01, VULKAN_02, etc) that you can checkout if you want the code to match exactly the version in the video. VulkanCore.lib is built by the VS solution. OGLCompilerd.lib is in c:\VulkanSDK<version>\Lib. |
Thank you. My Vulkan version is 1.3.280.0, I install on windows 11. I can find vulkan-1.lib etc, but I don't find the OGLCompilerd.lib at the C:\VulkanSDK\1.3.280.0\Lib folder. I select all at the install step. What Vulkan version is you using? Is this the matter? |
I'm using 1.3.268. Perhaps they removed this library? A quick google check didn't reveal anything about it but perhaps it is mentioned in one of their release notes. Anyway, you are not supposed to see a problem until we get to shader compilation. At some point I'll upgrade my SDK and see if the problems reproduces. |
Thank you, I have back the vulkan version to 1.3.268 and check that the OGLCompilerd.lib exist. But there are other problem, i will try to solve them! |
Hello, I get the clone of github on vs2022 and install the vulkan 1.3.275.0 at C:\VulkanSDK\1.3.275.0 on Windows.
I set the project at D:\Desktop\ogldev-master. Then build the solution and find the error.
The text was updated successfully, but these errors were encountered: