CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (https://www.cfd-online.com/Forums/openfoam-installation/)
-   -   libpng error during formula generation for Doxygen documentation (https://www.cfd-online.com/Forums/openfoam-installation/82760-libpng-error-during-formula-generation-doxygen-documentation.html)

mirko December 4, 2010 17:17

libpng error during formula generation for Doxygen documentation
 
This is a follow up on my Doxygen installation (see this post)

During the compilation of the _formula.tex file, I get a libpng error: Image widht or height is zero in IHDR. This seems to be related to image form_0.png.

I could not find either the form_0.png file or any .tex related files in the OpenFoam directory.

Any clue as to what may be going on?

Thanks,

Mirko

wyldckat December 5, 2010 18:20

Hi Mirko,

I'm not quite sure why you needed to create a new thread, but ok...

That same error happened with me in Ubuntu 10.04 and CentOS 4.8. In Ubuntu I managed to solve this error by installing the package "texlive-latex-base". In CentOS, I installed every latex package by using the "tetex*" pattern, but to no avail.

The annoying part was that in Ubuntu the particular "form_0.png" file was indeed created, but is was simply a 165 byte file that didn't have valid PNG content. And the "formula.repository" file only had this:
Code:

\form#0:\[ \]
So my bet is that you can pretty much ignore that final error, since no other errors were raised. And by what I could infer, the error is associated to the fact that there aren't any latex equations to be represented, although I could be wrong.

Best regards,
Bruno

mirko December 6, 2010 10:20

Quote:

Originally Posted by wyldckat (Post 286107)
Hi Mirko,

I'm not quite sure why you needed to create a new thread, but ok...

That same error happened with me in Ubuntu 10.04 and CentOS 4.8. In Ubuntu I managed to solve this error by installing the package "texlive-latex-base". In CentOS, I installed every latex package by using the "tetex*" pattern, but to no avail.

I think my latex is OK, as it generated a dvi file:

Code:

No file _formulas.aux.
[1] (./_formulas.aux) )
Output written on _formulas.dvi (1 page, 156 bytes).

Quote:

Originally Posted by wyldckat (Post 286107)
The annoying part was that in Ubuntu the particular "form_0.png" file was indeed created, but is was simply a 165 byte file that didn't have valid PNG content. And the "formula.repository" file only had this:
Code:

\form#0:\[ \]
So my bet is that you can pretty much ignore that final error, since no other errors were raised. And by what I could infer, the error is associated to the fact that there aren't any latex equations to be represented, although I could be wrong.

Best regards,
Bruno

To me the other annoying part is that doxygen document generator always starts from scratch, starting by parsing the files all over again. Maybe it is me having zero experience with doxygen ;)

Thanks,

Mirko


All times are GMT -4. The time now is 05:03.