diff --git a/C++/scripts/build.sh b/C++/scripts/build.sh index 0088e5b..4874a30 100755 --- a/C++/scripts/build.sh +++ b/C++/scripts/build.sh @@ -4,7 +4,7 @@ printf "Running program...\n\n\n" output=$(dpkg -l | grep libx11-dev) if [[ -z $output ]] then - sudo apt install libx11-dev libpulse-dev mesa-common-dev libpng-dev + sudo apt install libx11-dev libpulse-dev mesa-common-dev libpng-dev g++ fi if [ ! -f "pixelGameEngine.o" ] then diff --git a/C++ProjectTemplate b/C++ProjectTemplate index 712d932..a5f50ec 100755 Binary files a/C++ProjectTemplate and b/C++ProjectTemplate differ diff --git a/pixelGameEngine.cpp b/pixelGameEngine.cpp index c79dd29..c8488f8 100644 --- a/pixelGameEngine.cpp +++ b/pixelGameEngine.cpp @@ -1,3 +1,2 @@ #define OLC_PGE_APPLICATION -#define OLC_PGE_HEADLESS #include "pixelGameEngine.h" \ No newline at end of file diff --git a/pixelGameEngine.o b/pixelGameEngine.o index daa4991..4f5be2d 100644 Binary files a/pixelGameEngine.o and b/pixelGameEngine.o differ diff --git a/sig b/sig index 010204a..6aa9af0 100755 --- a/sig +++ b/sig @@ -3,7 +3,7 @@ export AUTO_UPDATE=false source utils/define.sh define PROJECT_NAME "C++ProjectTemplate" -define CUSTOM_PARAMS "-std=c++17 -lX11 -lpthread -lpng -lstdc++fs -I/usr/include/lua5.3" +define CUSTOM_PARAMS "-std=c++17 -lX11 -lGL -lpthread -lpng -lstdc++fs -I/usr/include/lua5.3" define LANGUAGE "C++" source utils/main.sh