Amadey
Amadey

Reputation: 461

error using doxygen and graphViz: problems opening map file

I'm using Doxygen-1.8.7, which i have downloaded from official website in dmg version. I'm using 10.9.3 MacOS. I have installed graphviz 2.38.0.0 via macports.

I use Doxygen GUI to configure it and run. Everything works great, if i choose "use build-in diagram generator". But when i use dot tool, i get this:

error: problems opening map file /Users/pavelantonov/qtProjects/doxygen/result/11-06 1207/html/inherit_graph_21.map for inclusion in the docs!

I've tried to change SHORT_NAMES and FULL_PATH_NAMES as i find in solution from 2008, but it doesn't help.

GraphViz/bin is in paths.

There are no white spaces in *.dot names.

Upvotes: 12

Views: 13847

Answers (3)

baguvix
baguvix

Reputation: 11

The following method worked for me on Windows 10 with Doxygen 1.8.14.

Open cmd and type dot -c. Then, delete the doxygen output folder and regenerate it.

Make sure you have graphviz in your path. My graphviz is installed at C:\Program Files\Graphviz 2.44.1. So, there is no problem, even if spaces are there.

Upvotes: 1

Peacefighter
Peacefighter

Reputation: 21

It also seems that doxygen is for activating dot.exe space sensitive. Make sure your path is like this or at least without whitespaces:

D:/Graphviz2.38/bin

based on experience of Graphviz 2.38 on windows 10

Upvotes: 2

Jonas Wolf
Jonas Wolf

Reputation: 1214

I got this message 'problem opening map file for inclusion in the docs', if doxygen is not able to find graphviz/dot in the path. Try setting the path explicitly using DOT_PATH in the doxyfile.

As albert, already mentioned remove any whitespace in the path to the output path.

Another good idea is to completely remove your output directory, e.g. html, and regenerate your documentation.

Upvotes: 10

Related Questions