Skip to content

rishteam/OpenGL_Learning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL Learning

Learn OpenGL

Compile

CMake

mkdir build && cd build
cmake ..
make -j4

Msys user REMEMBER to add -G "MSYS Makefiles" to cmake

MSYS2

  • 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

macOS

  • Dependencies
brew install freeglut
g++ -O3 -std=c++11 main.cpp -framework OpenGL -framework GLUT

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •