进行cmake时出现
CMake Error at CMakeLists.txt:206 (message):
RandR headers not found; install libxrandr development package
-- Configuring incomplete, errors occurred!
解决:yum install libXrandr*
问题:CMake Error at CMakeLists.txt:221 (message):
Xcursor headers not found; install libxcursor development package
解决:yum install libXcursor*
问题:CMake Error at CMakeLists.txt:226 (message):
XInput headers not found; install libxi development package
解决: yum install libXi*
缺什么就安装什么。
最后在安装是输入make install出错:CMake Error at cmake_install.cmake:36 (file):
file INSTALL cannot make directory "/usr/local/include/GLFW": Permission denied(没有权限执行)
解决:切换到root身份下再进行安装make install即可。