lindorffs / voidgen

1 stars 0 forks source link

Build and Test under Linux #3

Closed lindorffs closed 2 months ago

lindorffs commented 4 months ago

VoidGEN should be easily compiled for Linux. Theoretically it should just be adding the command to the make file.

lindorffs commented 3 months ago

I have successfully built the engine on ElementaryOS (build unknown atm) using the following: sudo apt install libsdl2-dev libsdl2-image-dev libsdl2-mixer-dev libsdl2-ttf-dev liblua5.3-dev

g++ engine.cpp -I./includes -static-libstdc++ -static-libgcc \
-Wl,-Bstatic -lstdc++ -lpthread \
-Wl,-Bdynamic -lSDL2main -lSDL2 \
-lSDL2_image -lSDL2_mixer -lSDL2_ttf \
-llua5.3 -o VoidGEN.bin