CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

libpng error during formula generation for Doxygen documentation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   December 4, 2010, 18:17
Default libpng error during formula generation for Doxygen documentation
  #1
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 8
mirko is on a distinguished road
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
mirko is offline   Reply With Quote

Old   December 5, 2010, 19:20
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,258
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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
wyldckat is offline   Reply With Quote

Old   December 6, 2010, 11:20
Default
  #3
Senior Member
 
Mirko Vukovic
Join Date: Mar 2009
Posts: 159
Rep Power: 8
mirko is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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 View Post
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
mirko is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
which png renderer for Doxygen documentation generation mirko OpenFOAM Installation 2 December 4, 2010 18:12
Latest News in Mesh Generation Robert Schneiders Main CFD Forum 1 February 18, 2000 01:48
Latest new in mesh generation Robert Schneiders Main CFD Forum 0 February 16, 2000 08:12
Latest news in mesh generation Robert Schneiders Main CFD Forum 0 March 2, 1999 05:07


All times are GMT -4. The time now is 04:42.