GLFW编译安装笔记

来源:互联网 发布:知乎如何关闭问题 编辑:程序博客网 时间:2024/06/07 20:50

源代码地址:

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

0 0