EQMG / Acid

A high speed C++17 Vulkan game engine
https://equilibrium.games
MIT License
1.75k stars 153 forks source link

Some fixes for Linux/gcc #96

Closed bernds closed 4 years ago

bernds commented 4 years ago

I tried to compile and run Acid and its tutorials on Linux with gcc. These are most of the fixes I needed, mostly to fix initialization/destruction order issues that caused crashes on the tutorial apps.

The only thing that's missing is that I had to remove the dependency on volk, no matter what I tried I could not stop it from crashing. The root problem appears to be that symbols with the same name but different function are pulled in from both volk and libvulkan, and the wrong ones get used.

mattparks commented 4 years ago

Thank you for the pull request, I agree with the changes you have made to get the Tutorials working on GCC.