doxygen and graphviz doesn't generate map files

user2632182 picture user2632182 · Jul 30, 2013 · Viewed 21.1k times · Source

I am trying Graphviz and doxygen on a rather large C++ library to generate UML. It generates the .dot files but then says it can't open the .map files.

I am running doxygen 1.8.3 and 2.30.1 installed via the msi on Windows 7 64bit. I also manually set the path to the Graphviz bin folder.

Errors look like: error: problems opening map file /inherit_graph_11.map for inclusion in the docs!

Answer

TankorSmash picture TankorSmash · Oct 5, 2013

I know you found your solution, but for the sake of people like myself coming from Google, I'd like to make this as easy as possible for everyone.

If you're on Windows, and have installed both Doxygen and Graphviz, or if you're on Linux and have used apt-get install doxygen graphviz, the next step is to make sure that you're able to run the dot command from the command prompt/terminal. You can do this by making sure that the Graphviz/bin folder is appended to your PATH file.

Refer to this answer (removed by SO so here is a archive.org link) if you need more details on how to properly set up Doxygen/Graphviz for visualizations