• 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.

  • 相关阅读:
    10. 正则表达式匹配
    5. 最长回文子串
    板子总结
    2020: 学生查询
    解决apt-get出错
    03如何计算算法的复杂度
    ad如何从PCB中导出元件封装库
    调车遇到的问题及解决办法
    java报错与解决方法总结
    SWD下载k60
  • 原文地址:https://www.cnblogs.com/kevinzhwl/p/3879000.html
Copyright © 2020-2023  润新知