Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

error using doxygen and graphViz: problems opening map file

Tags:

doxygen

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.

like image 267
Amadey Avatar asked Jun 11 '14 09:06

Amadey


2 Answers

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.

like image 113
baguvix Avatar answered Sep 20 '22 03:09

baguvix


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.

like image 36
Jonas Wolf Avatar answered Sep 21 '22 03:09

Jonas Wolf