-
Notifications
You must be signed in to change notification settings - Fork 911
Compiling on Linux
Moros Smith edited this page Jul 20, 2020
·
6 revisions
Update and install the compiler, related build tools, and libraries required to build PixelGameEngine applications.
sudo apt update
sudo apt install build-essential libglu1-mesa-dev libpng-dev
Update and install the compiler, related build tools, and libraries required to build PixelGameEngine applications.
sudo pacman -Sy
sudo pacman -S gcc glibc libpng mesa
Placeholder for more instructions for more Linux distros
g++ -o olcExampleProgram olcExampleProgram.cpp -lX11 -lGL -lpthread -lpng -lstdc++fs -std=c++17
./olcExampleProgram
Your frequently asked questions might appear here, one day!