I recently upgraded from Doxygen 1.8.4 and GraphViz 2.36 where I had no problems generating graphs to Doxygen 1.8.7 and GraphViz 2.38 and cannot now get graphs.
During the build I get large numbers of errors of the form
error: Problems running dot: exit code=-1, command='dot' arguements="myfile.dot" -Tpng -O "myfile.png"
I have downgraded to GraphViz 2.36 and the problem has disappeared. NOTE - I have tried to run 2.36 with DOT_PATH empty and GraphViz added to path but this doesn't work either.
Only working solution at present is 2.36 with DOT_PATH defined.
Can you please check the compatibily issue and advise.
Another solution, that does not require to edit your $path is to set the DOT_PATH variable at the configuration file, to wherever you install the dot library (default path is Program Files (x86)/Graphviz2.38/bin
).
You can do this with 2 ways:
expert
tab, go to the dot
at the topics and set the DOT_PATH
(see the screenshot of doxywizard)DOT_PATH = "../Program Files (x86)/Graphviz2.38/bin"
I had exactly the same problem using Doxygen 1.8.6 and dot 2.38 (20140413.2041). Only a slight version difference compared to OP but the same error messages - and no graphs. dot
was (and is still) set in the PATH variable but this was not enough.
It was solved though after I explicitly set DOT_PATH
to the appropriate directory which is "C:/Program Files (x86)/Graphviz2.38/bin" in my case.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With