天天看点

GLFW编译安装笔记

源代码地址:

GLFW

环境:

CentOS 7

安装:

cd <glfw-root-dir>

mkdir glfw-build

cd glfw-build

cmake <glfw-root-dir>

make

make install

install 情况:

Install the project…

– Install configuration: “”

– Installing: /usr/local/include/GLFW

– Installing: /usr/local/include/GLFW/glfw3.h

– Installing: /usr/local/include/GLFW/glfw3native.h

– Installing: /usr/local/lib/cmake/glfw/glfwConfig.cmake

– Installing: /usr/local/lib/cmake/glfw/glfwConfigVersion.cmake

– Installing: /usr/local/lib/cmake/glfw/glfwTargets.cmake

– Installing: /usr/local/lib/cmake/glfw/glfwTargets-noconfig.cmake

– Installing: /usr/local/lib/pkgconfig/glfw3.pc

– Installing: /usr/local/lib/libglfw3.a

参考:

http://www.glfw.org/docs/latest/build.html

继续阅读