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

Compilation error in vku dependency #7

Open
dov opened this issue Oct 6, 2024 · 4 comments
Open

Compilation error in vku dependency #7

dov opened this issue Oct 6, 2024 · 4 comments

Comments

@dov
Copy link

dov commented Oct 6, 2024

I followed the instructions in the README.md but when compiling it failed with the following error:

/terra/space/pub-repos/vk-gltf-viewer/build/vcpkg_installed/x64-linux-clang/module/vku/extlibs/module-ports/vk_mem_alloc.cppm:3:10: fatal error: 'vulkan-memory-allocator-hpp/vk_mem_alloc.hpp' file not found

It seems like the vku vcpkg is missing the dependency on vulkan-memory-allocator-hpp. Is there a work around?

@stripe2933
Copy link
Owner

stripe2933 commented Oct 6, 2024

It seems like the vku vcpkg is missing the dependency on vulkan-memory-allocator-hpp.

"vulkan-memory-allocator-hpp"

My guess is that your CMake project is using the include directory of VulkanMemoryAllocator-Hpp installed on your system, rather than the one provided by vcpkg. Could you check if the build folder contains the file vcpkg_installed/x64-linux-clang/include/vulkan-memory-allocator-hpp/vk_mem_alloc.hpp?

@dov dov changed the title Compilation error: missing Compilation error in vku dependency Oct 6, 2024
@dov
Copy link
Author

dov commented Oct 6, 2024

Thanks for your reply. I checked, and the build folder does contain vcpkg_installed/x64-linux-clang/include/vulkan-memory-allocator-hpp/vk_mem_alloc.hpp. I also checked that there is no other plausible version of vk_mem_alloc.hpp that can have been mistakenly included. Strange...

@stripe2933
Copy link
Owner

Yeah, that’s strange. Could you upload the full vcpkg configuration log file?

@dov
Copy link
Author

dov commented Oct 6, 2024

Attached below, thanks!
vcpkg-manifest-install.log

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

2 participants