On Thursday 03 November 2005 15:42, Yann Golanski wrote:
> I am getting some strange errors with graphviz and doxygen, namely that
> I cannot generate PNGs.  Any idea what is going wrong?  My doxygen.conf
> is pretty standard -- I'm not doing anything "clever" there.
>
> ; doxygen doxygen.conf
> [...]
> Warning: language png not recognized, use one of: canon cmap cmapx dia
> dot fig gd gd2 gif hpgl imap ismap jpeg jpg mif mp pcl pic plain
> plain-ext ps ps2 svg svgz vtx wbmp xdot

Is that a dot error message or a doxygen one?

> Error! Image `graph_legend.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+)
> Generating graphical class hierarchy...

Well, if dot bails then it's not going to create a valid png file. How about 
(1) trying to change the format and using gif (for instance) and (2) 
recompiling graphviz from source so it picks up libpng as needed?

You don't need graphviz for the simple stuff like class inheritance diagrams, 
though.

-- 
These are your friends - Adem
    GPG: FEA2 A3FE Adriaan de Groot
_______________________________________________
kde-freebsd mailing list
[email protected]
http://freebsd.kde.org/mailman/listinfo/kde-freebsd

Reply via email to