Normally I don't like to post online, but I'll have to say something here: The tutorial was spot on, save for one snag in the Makefile section. For some reason, after typing "make" in the terminal, I receive a few errors. This is the output: 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:4: VulkanTest] Error 1 However, after removing "-lXxf86vm" and "-lXi", then trying "make" again actually works. I have also managed to make the Vulkan window pop up, after using "make test". Question is, do I continue without "-lXxf86vm" and "-lXi"? What are they needed for?
For anyone still following this I strongly advice to set as few `LDFLAGS` as possible and add them only when needed (e.g. you use a Vulkan functionality that needs a library). Also installing some of those libraries system-wide is silly, you should have them in `vendor` directory in your project.
Dude, thank you for these videos! You have a subscriber. I think that due to a combination of the following... - Microsoft flubbing the release of windows 11 (seriously, I was like f this with the TPM news wayyyy before release) - Ubuntu distros like Pop_OS are freaking cool - Vulkan is new and sexy and I can't find a mainstream game engine made with it yet (although there are a few titles) ... these tutorials are going to get hugely significant. I love that someone is making them. I hope this video gets 100k views by next year! Much appreciation! Can you make a patreon like other youtubers do? I don't like supporting paypal. Thanks! #vulkan #opengl #sonarsystems #snrsys
I have thought about making a patron, not sure if I would get much but I'll reconsider it. Any questions feel free to post on Discord discord.gg/Qn4tSPD
Hey dude I think ya got the clean bit wrong and it caused me a bit of pain trying to figure this stuff out. I did learn make on the bright side though...
Thank you for this tutorial. I have a question... any idea why my vulkan test window is not filled with black color, but instead with the desktop background? 😆
@FyreWolf99 Ah... Thanks for your reply :) I understand :) Was getting nervous because beforehand i hat to install new gfx drivers, and wondered, if there was a problem or bug. uh, i'm glad to read your post. thank you
Hey everyone I recieved the folllowing error after typing in make... Im assuming I just have to add those files to /usr/bin.Id but I don't know because i didnt do it to the other files g++ -std=c++17 -O2 -o VulkanTest main.cpp -lglfw -lvulkan -ldl -lpthread -lx11 -lXxf86vm -lXrandr -lXi /usr/bin/ld: cannot find -lglfw /usr/bin/ld: cannot find -lx11 collect2: error: ld returned 1 exit status make: *** [Makefile:4: VulkanTest] Error 1
Normally I don't like to post online, but I'll have to say something here:
The tutorial was spot on, save for one snag in the Makefile section. For some reason, after typing "make" in the terminal, I receive a few errors. This is the output:
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:4: VulkanTest] Error 1
However, after removing "-lXxf86vm" and "-lXi", then trying "make" again actually works. I have also managed to make the Vulkan window pop up, after using "make test".
Question is, do I continue without "-lXxf86vm" and "-lXi"? What are they needed for?
sudo apt-get install libxi-dev
I have same problem
For anyone still following this I strongly advice to set as few `LDFLAGS` as possible and add them only when needed (e.g. you use a Vulkan functionality that needs a library). Also installing some of those libraries system-wide is silly, you should have them in `vendor` directory in your project.
Dude, thank you for these videos! You have a subscriber.
I think that due to a combination of the following...
- Microsoft flubbing the release of windows 11 (seriously, I was like f this with the TPM news wayyyy before release)
- Ubuntu distros like Pop_OS are freaking cool
- Vulkan is new and sexy and I can't find a mainstream game engine made with it yet (although there are a few titles)
... these tutorials are going to get hugely significant. I love that someone is making them. I hope this video gets 100k views by next year!
Much appreciation! Can you make a patreon like other youtubers do? I don't like supporting paypal.
Thanks!
#vulkan #opengl #sonarsystems #snrsys
I have thought about making a patron, not sure if I would get much but I'll reconsider it.
Any questions feel free to post on Discord discord.gg/Qn4tSPD
how do i get the thing in the text editor
Hey dude I think ya got the clean bit wrong and it caused me a bit of pain trying to figure this stuff out. I did learn make on the bright side though...
thanks mate
No worries
Any questions feel free to post on Discord discord.gg/Qn4tSPD
Thank you for this tutorial. I have a question... any idea why my vulkan test window is not filled with black color, but instead with the desktop background? 😆
@FyreWolf99 Ah... Thanks for your reply :) I understand :) Was getting nervous because beforehand i hat to install new gfx drivers, and wondered, if there was a problem or bug. uh, i'm glad to read your post. thank you
The 4 gig download was worry filled dude
Can I follow this for OpenGL as well?
Yes the process is similar
Any questions feel free to post on Discord discord.gg/Qn4tSPD
it saying ./VulkanTest permission denied pls help
use sudo, and don't scam people little scam boy.
Hey everyone I recieved the folllowing error after typing in make... Im assuming I just have to add those files to /usr/bin.Id but I don't know because i didnt do it to the other files
g++ -std=c++17 -O2 -o VulkanTest main.cpp -lglfw -lvulkan -ldl -lpthread -lx11 -lXxf86vm -lXrandr -lXi
/usr/bin/ld: cannot find -lglfw
/usr/bin/ld: cannot find -lx11
collect2: error: ld returned 1 exit status
make: *** [Makefile:4: VulkanTest] Error 1