Problems using "dot" on OS X

View: New views
2 Messages — Rating Filter:   Alert me  

Problems using "dot" on OS X

by Glenn H-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello all,

I'm trying to use doxygen with dot output on OS X, and I've been  
running into a bunch of problems.  (PPC, 10.5.4)

If I use dot executable built into Doxygen.app, I get many of the  
following errors:

Error: invalid api in config: libgvplugin_core.5.dylib loadimage

and

Error: failed to init libltdl

and

Renderer type: "ps" not recognized. Use one of: canon cmap cmapx dia  
dot fig gd gd2 gif hpgl imap ismap map mif mp pcl pic plain plain-ext  
png ps ps2 svg svgz tk vml vrml vtx wbmp xdot

I've tried using a separate install of GraphViz, but then I run into  
a tangle of library dependancies that I haven't been able to quite  
work out.

Has anyone successfully used dot output with OS X? If so, what's the  
magic recipe?

Thanks in advance
Glenn


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Doxygen-users mailing list
Doxygen-users@...
https://lists.sourceforge.net/lists/listinfo/doxygen-users

Re: Problems using "dot" on OS X

by Rush Manbert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Jul 1, 2008, at 2:22 PM, Glenn H wrote:

> Hello all,
>
> I'm trying to use doxygen with dot output on OS X, and I've been
> running into a bunch of problems.  (PPC, 10.5.4)
>
> If I use dot executable built into Doxygen.app, I get many of the
> following errors:
>
> Error: invalid api in config: libgvplugin_core.5.dylib loadimage
>
> and
>
> Error: failed to init libltdl
>
> and
>
> Renderer type: "ps" not recognized. Use one of: canon cmap cmapx dia
> dot fig gd gd2 gif hpgl imap ismap map mif mp pcl pic plain plain-ext
> png ps ps2 svg svgz tk vml vrml vtx wbmp xdot
>
> I've tried using a separate install of GraphViz, but then I run into
> a tangle of library dependancies that I haven't been able to quite
> work out.
>
> Has anyone successfully used dot output with OS X? If so, what's the
> magic recipe?


Hi Glenn,

I've been using dot output on OS X for at least 2 years, maybe 3.  
Started under 10.4 on a PPC, and currently on an Intel Mac PRo running  
10.5.3. I am currently using Doxygen version 1.5.3 and Graphviz  
version 1.13.

I installed GraphViz.app from a binary distribution. It is not on my  
path. My doxyfile defines a lot of stuff, but I think this is what is  
important:

DOT_PATH = ../../../../common/thirdPartyTools/Graphviz.app/Contents/
MacOS

SHORT_NAMES = YES

HAVE_DOT = YES

Note that the DOT_PATH points inside the Graphviz.app package.

Also note that the SHORT_NAMES = YES is very important on OS X.  
Otherwise, your error log will be filles with error messages about  
*.map files that can't be included.

I have also found that, despite ehat the documentation for HAVE_DOT  
says, if I set it to NO, then dot is not found, and if I set it to  
YES, dot is found on the path that I specified in DOT_PATH.

Other than that, I just have all the settings about what diagrams I  
want. It seems to work just fine.

- Rush


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Doxygen-users mailing list
Doxygen-users@...
https://lists.sourceforge.net/lists/listinfo/doxygen-users
LightInTheBox - Buy quality products at wholesale price