Total Pageviews

2009/02/20

Problems running dot: exit code=-1, command='dot'

As I used Doxygen to generate source code docuemt, I failed to generate graphs and got this kind of error message: 
Problems running dot: exit code=-1, command='dot', arguments='"classcom_1_1htc_1_1hr_1_1tree_1_1_department_table_bean_50f82c9386b01669779a1524b380b355_cgraph.dot" -Tpng -o "classcom_1_1htc_1_1hr_1_1tree_1_1_department_table_bean_50f82c9386b01669779a1524b380b355_cgraph.png"'

I spent lots of time to resolve this odd issue, and found out its result from the wrong GraphViz version. I cannot use the latest version. As I tried graphviz-2.12.exe this version, all problems were gone. You can go to here to download this verion: http://www.graphviz.org/pub/graphviz/stable/windows/

Here is class hierarchy:


Here is call graph:

5 comments:

Unknown said...

Perfect! It works for me.
Thanks from Bariloche, Argentina.

Vineet said...

Hello Albert!
God Bless You!
I do not know what I would have done if I had not run into this page you have written!!
Works fine now ... I wish Doxygen would put this on their page.

vineet
India

Albert Kuo said...

I'm very glad this article solved your problem :)

What's in the name said...

Thanks.
This helped me.

alleey said...
This comment has been removed by the author.