ubuntu 16.04下编译GLFW

如果报错 “The RandR library and headers were not found”则需要在terminal里执行“sudo apt-get install libxrandr-dev”

如果报错 “The XInput library and headers were not found”则需要在terminal里执行“sudo apt-get install libxi-dev”

如果报错 “The Xinerama library and headers were not found”则需要在terminal里执行“sudo apt-get install libsdl2-dev:
参考https://chubuntu.com/questions/29957/cant-install-libsdl2-dev-or-cmake-glfw-libxinerama-dev-problem.html 解决后出现“The Xcursor headers were not found”,安装libxcursor-dev时出现该库的依赖xcursor1版本不符,降低了glfw到3.1仍然没有解决

此外,对于缺少doxygen的问题,需要下载源码编译安装

你可能感兴趣的:(OpenGL)