Include GL parameter for compiling on Linux Mint systems.

Co-authored-by: sigonasr2 <sigonasr2@gmail.com>
master
sigonasr2 2 years ago
parent 3c134a917f
commit 84c4d7ea96
  1. 2
      C++/scripts/build.sh
  2. BIN
      C++ProjectTemplate
  3. 1
      pixelGameEngine.cpp
  4. BIN
      pixelGameEngine.o
  5. 2
      sig

@ -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

Binary file not shown.

@ -1,3 +1,2 @@
#define OLC_PGE_APPLICATION
#define OLC_PGE_HEADLESS
#include "pixelGameEngine.h"

Binary file not shown.

2
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

Loading…
Cancel
Save