ever seen error messages like this when generating doxygen docs for an iPhone/Mac Objective C project:
…/build/doxygen/html/a00136.png’ produced by dot is not a valid PNG! You should either select a different format (DOT_IMAGE_FORMAT in the config file) or install a more recent version of graphviz (1.7+)
?
Happened to me this morning when running doxygen on another box. The doxygen dmg was installed in /Applications
, I even added the graphviz macport, so WTF.
It turned out, that
- the doxygen dmg brings everything it needs, including graphviz,
- but: the full path to the dot executable has to be set inside the doxygen config.
So, when using the dot from the doxygen dmg, it has to be set to
/Applications/Doxygen.app/Contents/Resources
I fixed my generic Makefile and make a good guess now while keeping things configurable per user as the Makefile and doxygen config are committed sources and should not contain user specific settings.