#准备工作
sudo apt-get install cmake g++ libglfw3-dev libassimp-dev libx11-dev libxcursor-dev libxi-dev libxinerama-dev libfreetype6-dev -y
#克隆
git clone https://github.com/JoeyDeVries/LearnOpenGL
cd LearnOpenGL
export LOGL_ROOT_PATH=${PWD}
cmake .
#编译
make
#跑个demo程序试一试:
cd bin/4.advanced_opengl
./4.advanced_opengl__5.1.framebuffers
离线