Linux glfw makefile在“启动”时失败;“生成html文档”;在Ubuntu上

Linux glfw makefile在“启动”时失败;“生成html文档”;在Ubuntu上,linux,ubuntu,makefile,cmake,glfw,Linux,Ubuntu,Makefile,Cmake,Glfw,我正在为Ubuntu 14.10编译并安装glfw 3.1.1。但是,当我通过make执行makefile时,cmake成功完成,但在以下情况下失败: [ 98%] Building C object tests/CMakeFiles/windows.dir/windows.c.o Linking C executable windows [ 98%] Built target windows Scanning dependencies of target docs [100%] Generat

我正在为Ubuntu 14.10编译并安装glfw 3.1.1。但是,当我通过
make
执行makefile时,cmake成功完成,但在以下情况下失败:

[ 98%] Building C object tests/CMakeFiles/windows.dir/windows.c.o
Linking C executable windows
[ 98%] Built target windows
Scanning dependencies of target docs
[100%] Generating HTML documentation
Error: tag HTML_HEADER: header file `/home/dennis/Documents/LearningOpenGL/glfw-3.1.1/docs/header.html' does not exist
docs/CMakeFiles/docs.dir/build.make:52: recipe for target 'docs/CMakeFiles/docs' failed
make[2]: *** [docs/CMakeFiles/docs] Error 1
CMakeFiles/Makefile2:1184: recipe for target 'docs/CMakeFiles/docs.dir/all' failed
make[1]: *** [docs/CMakeFiles/docs.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
起初我认为它没有通过一个可选步骤,但后来我意识到我无法编译我的测试项目,因为它抱怨glfw头:

main.cpp:2:24: fatal error: GLFW/glfw3.h: No such file or directory
 #include <GLFW/glfw3.h>
main.cpp:2:24:致命错误:GLFW/glfw3.h:没有这样的文件或目录
#包括

谢谢你找到了答案!我不得不禁用cmake gui中的“构建文档”选项。

似乎您只是跳过了编译文档,而没有修复它

只需转到
docs/CMakeFiles/docs.dir
,修改文件
build.make

对于构建目标
docs/CMakeFiles/docs:
,更改doxygen命令 发件人:

doxygen.exe
doxygen.exe .