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 #2

Open
EriKWDev opened this issue Oct 15, 2024 · 0 comments
Open

compilation error #2

EriKWDev opened this issue Oct 15, 2024 · 0 comments

Comments

@EriKWDev
Copy link

Hi! Found the project and it looked interesting so wanted to compile it :)

Did git clone --recursive, compiled the shaders successfully with the compile_shaders.sh and after that tried the standard cmake dance

mkdir build
cd build
cmake ../
make -j8

but got this error

[ 65%] Building CXX object CMakeFiles/lighthugger.dir/src/main.cpp.o
/home/erik/Documents/GitHub/lighthugger/src/main.cpp: In function ‘int main()’:
/home/erik/Documents/GitHub/lighthugger/src/main.cpp:69:39: error: no matching function for call to ‘vk::DispatchLoaderDynamic::init()’
   69 |     VULKAN_HPP_DEFAULT_DISPATCHER.init();
      |                                       ^
compilation terminated due to -Wfatal-errors.
make[2]: *** [CMakeFiles/lighthugger.dir/build.make:237: CMakeFiles/lighthugger.dir/src/main.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:209: CMakeFiles/lighthugger.dir/all] Error 2
make: *** [Makefile:136: all] Error 2

I'm using linux (debian 12 bookworm)

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