- MacOS 版本:10.7.2(狮子山)
- Doxygen 版本:1.7.5.1
- Graphviz 版本:2.29
Doxygen 配置:
DOT_PATH = ../../../../Applications/Contents/MacOS/Graphviz
HAVE_DOT = YES
SHORT_NAMES = YES
从日志控制台中,首先一行会显示警告:
warning: the dot tool could not be found at ../../../../Applications/Contents/MacOS/Graphviz
我尝试了各种组合但是警告并没有消失,虽然它确实生成了图片。
使用9个并行线程生成点图...
运行第1/68张图的dot
sh: dot: command not found运行dot时出现问题:退出代码=127,命令='dot',参数='" /Users/salilk/Documents/project/DoxygenDocs/html/a00033.dot" -Tpng -o "/Users/salilk/Documents/project/DoxygenDocs/html/a00033.png"'
在html目录下已经生成了.dot文件,但是没有.png文件。
现在如果我从终端执行相同的命令,则会生成.png文件并在其.html文件中显示。
控制台中的另一个错误是:
error: problems opening map file /Users/salilk/Documents/A2O Collaborate/DoxygenDocs/html/a00032.map for inclusion in the docs! If you installed Graphviz/dot after a previous failing run, try deleting the output directory and rerun doxygen.
这与上述问题有关吗?
我以前在Windows机器上使用过Doxygen,并没有遇到这些错误,我们需要为Mac做任何特定的配置吗?