Problems running dot

Dot is failing on graph_legend.png View: Threaded Chronologically All Messages New views 3 Messages — Rating Filter: 0 1 2 3 4 5 Alert me Dot is failing on graph_legend.png by Patrick Rutkowski Jan 13, 2008; 02:12pm :: Rate this Message: - Use ratings to moderate (?) Reply | Reply to Author | Print | View Threaded | Show Only this Message So, today is my first day learning to use doxygen. Until now it has been going pretty smooth. I just tried to set up my Doxfile to use dot, but it's not working. I set HAVE_DOT to YES and reran doxygen on my project. The output is all normal except for the following line: Problems running dot: exit code=-1, command='dot', arguments='"graph_legend.dot" -Tpng -o "graph_legend.png"' I'm in the directory "doxygen", and the structure looks like this: doxygen/ Doxyfile examples/ html/ If I manually run "dot html/graph_legend.dot -Tpng -o foo.png" then it works just fine. Why is Doxygen looking for graph_legend.dot in the current directory? Doesn't it know that it has to look for it in the HTML directory? I'm not really sure how to fix this, any suggestions anyone? -Patrick P.S. I tried using DOTFILE_DIRS as a possible fix, but it didn't work. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Doxygen-users mailing list Doxygen-users@... https://lists.sourceforge.net/lists/listinfo/doxygen-users Re: Dot is failing on graph_legend.png by Patrick Rutkowski Jan 13, 2008; 02:51pm :: Rate this Message: - Use ratings to moderate (?) Reply | Reply to Author | Print | View Threaded | Show Only this Message I just realized that this was because my DOT_PATH wasn't set. "dot.exe" was in my %PATH%, but somehow doxygen didn't see it anyway. I set DOT_PATH, and now it can see dot. However, I'm not running into yet another problem. doxygen is complaining about not seeing map files: Error opening map file classwebs_1_1winapi__error__inherit__graph.map for inclusion in the do Error opening map file classwebs_1_1winapi__error__coll__graph.map for inclusion in the docs! I looked through all of doxygen's output, and these are the only two unusual messages. When I look at the generated html there is now a space for the images, but the images are missing. It looks as if there was a tag like , but foo.png didn't exist. Also, the .map files are seemingly nowhere to be found. What do I do form here? I really have no clue how to get doxygen to generate these .map files. -Patrick On Jan 13, 2008 1:12 AM, Patrick M. Rutkowski wrote: > So, today is my first day learning to use doxygen. Until now it has > been going pretty smooth. > > I just tried to set up my Doxfile to use dot, but it's not working. I > set HAVE_DOT to YES and reran doxygen on my project. The output is all > normal except for the following line: > > Problems running dot: exit code=-1, command='dot', > arguments='"graph_legend.dot" -Tpng -o "graph_legend.png"' > > I'm in the directory "doxygen", and the structure looks like this: > > doxygen/ > Doxyfile > examples/ > html/ > > If I manually run "dot html/graph_legend.dot -Tpng -o foo.png" then it > works just fine. Why is Doxygen looking for graph_legend.dot in the > current directory? Doesn't it know that it has to look for it in the > HTML directory? > > I'm not really sure how to fix this, any suggestions anyone? > > -Patrick > > P.S. I tried using DOTFILE_DIRS as a possible fix, but it didn't work. > ...[show rest of quote] ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ Doxygen-users mailing list Doxygen-users@... https://lists.sourceforge.net/lists/listinfo/doxygen-users Re: Dot is failing on graph_legend.png by Patrick Rutkowski Jan 13, 2008; 03:17pm :: Rate this Message: - Use ratings to moderate (?) Reply | Reply to Author | Print | View Threaded | Show Only this Message Never mind, I got it worked. I deleted the hold html/ dir and the re-ran doxygen; and it worked. It looks like it just didn't like me running doxygen twice over the same output dir. -Patrick On Jan 13, 2008 1:51 AM, Patrick M. Rutkowski wrote: > I just realized that this was because my DOT_PATH wasn't set. > > "dot.exe" was in my %PATH%, but somehow doxygen didn't see it anyway.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值