linux doxygen 教程,linux下doxygen使用过程中碰到的问题

本文档描述了在Linux环境下使用Doxygen生成文档时遇到的图表生成失败问题。主要原因是Graphviz未能正确配置,导致特定格式(如PNG)的图表无法生成。文中提供了检查和解决问题的具体步骤。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

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配置文件模板.

|

把配置文件的png改成gif。就会出现那个dot转png找不到了

|

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

还是一个安装的问题。

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值