我尝试使用Doxygen从源代码生成文档。 我从命令行调用特定文件夹中的doxygen,如下所示:
doxygen doxygen_config
doxygen_config文件几乎与Doxygen创建的默认文件完全相同,我只做了一些小改动,如下所示:
INPUT = ./../../src/*.c
SUBFOLDER = YES
OUTPUT = ../../doc/
(我尝试过absolut路径,结果相同) 当我执行此命令时,我可以看到Doxygen解析文件:
The message during parsing is like this:
Searching for include files...
Searching for example files...
Searching for images...
Searching for dot files...
Searching for msc files...
Searching for dia files...
Searching for files to exclude
Searching INPUT for files to process...
Searching for files in directory C:/Users/workspace-cpp/project/src
Searching for files in directory C:/Users/workspace-cpp/project/src/s1
Searching for files in directory C:/Users/workspace-cpp/project/src/s2
Reading and parsing tag files
Parsing files
Preprocessing C:/Users/workspace-cpp/project/src/s1/s1.c...
Parsing file C:/Users/workspace-cpp/project/src/s1/s1.c...
Preprocessing C:/Users/workspace-cpp/project/src/s2/s2.c...
Parsing file C:/Users/workspace-cpp/project/src/s1/s1.c...
.
.
.
Computing dependencies between directories...
Generating citations page...
Counting data structures...
Resolving user defined references...
Finding anchors and sections in the documentation...
Transferring function references...
Combining using relations...
Adding members to index pages...
然后它崩溃了。我从Windows收到一个弹出窗口,显示消息" doxygen.exe停止工作" (APPCRASH) 如果我转到OUTPUT文件夹,我可以看到Doxygen创建了一些文件夹:latex(空)和html(其中只有tabs.css)。
知道可能导致这种情况的原因吗?