VulkanTutorial icon indicating copy to clipboard operation
VulkanTutorial copied to clipboard

Include Directory Errors in the Development Enviornment Section

Open TheGeneral01 opened this issue 11 months ago • 0 comments

Hello, I was following the guide for setting up the Development Environment when I got stuck trying to run the code. Upon compiling the code, the C++ compiler could not locate the content within the GLM library. I found that this is because when you add the \glm folder to the Additional Include Directories, the code looks for glm\glm, due to #include <glm\vec4.hpp> within the sample code. Instead I sent it to my directory within the Additional Include Directories, (C:\Vulkan_Libraries) so the code looked for the glm library within that folder. You could just as well update the code to #include <vec4.hpp> and #include <mat4x4.hpp> rather than including glm. Just wanted to point this out, and lmk if my case is different than most people's for whatever reason.

Thanks, TheGeneral01

TheGeneral01 avatar Dec 21 '24 23:12 TheGeneral01