Learn OpenGL
mkdir build && cd build
cmake ..
make -j4
Msys user REMEMBER to add
-G "MSYS Makefiles"
to cmake
- Dependencies
pacman -S mingw-w64-i686-freeglut 3.2.1-1
pacman -S mingw-w64-i686-glew 2.1.0-1
pacman -S mingw-w64-i686-libpng
g++ -O3 -std=c++11 main.cpp -lfreeglut -lopengl32 -lglu32 -lglew32 -lm -o main && ./main.exe
- Dependencies
brew install freeglut
g++ -O3 -std=c++11 main.cpp -framework OpenGL -framework GLUT