Doxygen 1.8.7 / GraphViz 2.38 compatabilty issue

后端 未结 5 815
感情败类
感情败类 2021-02-13 12:59

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 t

相关标签:
5条回答
  • 2021-02-13 13:14

    In my case i got this "error: Problems running dot: exit code=1.." solved only after i run

    dot -c
    which is meant to configure dot plugins (needs write privileges)

    0 讨论(0)
  • 2021-02-13 13:18

    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:

    • With the Doxywizard tool.
      • At the expert tab, go to the dot at the topics and set the DOT_PATH (see the screenshot of doxywizard)
    • Editing manually the Doxygene config file, so your doxygene configFile must have a line like this:

      DOT_PATH = "../Program Files (x86)/Graphviz2.38/bin"

    0 讨论(0)
  • 2021-02-13 13:22

    I also encountered this problem. I tried lots of methods mentioned in the net, but failed. Finally, I have downgraded to GraphViz 2.38 and the problem has disappeared. Now my doxygen version is 1.8 and my graphviz version is 2.38.

    0 讨论(0)
  • 2021-02-13 13:28

    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.

    0 讨论(0)
  • 2021-02-13 13:28

    I encountered the same problem using Doxygen 1.8.10 and dot 2.38 with Windows 7 and DOT_PATH empty. At the end it was "only" a problem with the command line path: The dot utility was not found within the environment, where doxygen was run. One needs to make sure, that the dot installation directory is listed within the PATH environment variable. A convenient way to check is to call the command dot.exe -V right before calling doxygen. Then check the command line output for the dot version message.

    Unfortunately the dot installation directory usually changes with each release of the GraphViz utility, since it contains a version reference (although it is not possible to have two versions of GraphViz installed in parallel). Under windows you need to manually update the global PATH setting and reboot (!) to make sure, that the setting is updated in all running environments as well.

    0 讨论(0)
提交回复
热议问题