Closed
Description
I've been following Development environment.
In my case on Ubuntu 20.04, -lXxf86vm
and -lXi
linker option is not working.
$ make test
g++ -std=c++17 -O2 -o VulkanTest main.cpp -lglfw -lvulkan -ldl -lpthread -lX11 -lXxf86vm -lXrandr -lXi
/usr/bin/ld: cannot find -lXxf86vm
/usr/bin/ld: cannot find -lXi
collect2: error: ld returned 1 exit status
make: *** [Makefile:5: VulkanTest] Error 1
Without these options, I think it works like below.
$ make test
g++ -std=c++17 -O2 -o VulkanTest main.cpp -lglfw -lvulkan -ldl -lpthread -lX11 -lXrandr
./VulkanTest
18 extensions supported
Is it better to manually install libraries?
Metadata
Metadata
Assignees
Labels
No labels