travisvroman / kohi

A game engine made as part of the Kohi Game Engine series on YouTube (and Twitch!), where we make a game engine from the ground up using C and Vulkan.
https://kohiengine.com
Apache License 2.0
1.06k stars 100 forks source link

Kohi game engine linux build issues #204

Closed vheidari closed 10 months ago

vheidari commented 12 months ago

While attempting to build Kohi Game Engine on my Linux machine, I encountered several errors and issues during the compilation process. Here are the changes I made to compile the Kohi Game Engine:

**Removed the [-Xlinker /INCREMENTAL] linker flag.
**Defined the UNUSED macro.
**Added the -ldl flag to the linker commands to prevent the linker error.
**Added the -lpthread flag to the linker commands to prevent the linker error.

These adjustments were made to address the compilation errors and ensure the successful compilation of the Kohi Game Engine on my Linux machine.

Thanks, @vheidari