first-opengl-prj is used as an example of simple OpenGL project, which uses vertex and fragment shader to draw triangles.
- Ubuntu 16.04 as VMWare guest OS
- built-in gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4)
- cmake version 3.5.1
sudo apt-get install cmake
- GLFW: version 3.1
sudo apt-get install libglfw3-dev
- glm: latest version on GitHub
- cd ~
- git clone https://github.com/g-truc/glm.git
- cd /usr/local/include/
- sudo ln -s ~/glm/glm
./build.sh
./build/first-opengl