日期:2014-05-16  浏览次数:20777 次

linux下doxygen使用过程中碰到的问题
linux下doxygen使用过程中碰到的问题
安装过程没有任何问题,就是在最后使用的时候会报一个错误,因为这个错误没有生产任何图表,只有简单的文字和源代码。

Format: "png" not recognized. Use one of: canon cmap cmapx cmapx_np dot fig gd gif hpgl imap imap_np ismap mif mp pcl pic plain plain-ext ps ps2 svg vml vtx wbmp xdot
Problems running dot: exit code=1, command='dot', arguments='"/home/payment/documents/doxygen-1.6.2/examples/diagrams/html/class_e__coll__graph.dot" -Tpng -o "/home/payment/documents/doxygen-1.6.2/examples/diagrams/html/class_e__coll__graph.png"'

上面那段就是报的错.
想请教下各位大侠怎么解决这个问题。

补充说明:我的程序是c语言写的。配置文件设置是参考网上一位前辈写的c配置文件模板.

------解决方案--------------------
This is a dot installation issue. Recent version of Graphviz/dot
load everything as plugins at runtime. If you compiled dot yourself
make sure you have all the required packages installed (such as
libpng) and install
Graphviz before using it. In particular the file INSTALL_DIR/lib/
graphviz/config in important
for dot.

If nothing works try an older version from
http://www.graphviz.org/pub/graphviz/ARCHIVE/
I use 2.14 on my Mac and 2.12 on Linux at the moment.

Regards,
Dimitri 

=================
http://old.nabble.com/Failed-to-get-callgraphs-td21757451.html
还是一个安装的问题。
------解决方案--------------------
把配置文件的png改成gif。就会出现那个dot转png找不到了