learn opengl各种库安装:
1. GLFW
git clone git@github.com:glfw/glfw.git
cd glfw
mkdir build && cd build
cmake ..
make -j4
sudo make install
2. GLAD
进入 GLAD网页 https://glad.dav1d.de/
找到和GLFW版本对应的GLAD下载后, 放到每个工程中
3.GLM数学库
sudo apt install libglm-dev
4. assimp
sudo apt install libassimp-dev
sudo apt install libassimp3
sudo apt install assimp-utils
可以编译源码安装
网友评论