I have found this info about libjpeg:

A common error that users of the library sometimes stumble upon is "JPEG parameter struct mismatch: library thinks size is X, caller expects Y" where X and Y are some numbers in the range 400-500. The reason for the error is that the user is using a version of the header file, jpeglib.h, that is different from the version of the installed binaries. This occurs when two different versions of libjpeg have been installed. This can also occur where there is a mismatch in important compiler settings, such as those related to integer size or alignment.

As you are the only reporter of this bug so far, I guess is the first problem. Take a look to your installed libjpeg version. If it is a bug in the compiler settings, please let us know maybe it is related to the last black_screen_of_death bug.

On Dec 21, 2007 4:14 AM, Brett Graham <brettgraham@gmail.com> wrote:
I'm trying to run the SVN gazebo. It installed fine (I think) but when
I run any .world file I get this:

 Creating GUI:
       Type[fltk] Pos[0 0] Size[640 480]
Gazebo Path[/usr/local/share/gazebo]
Ogre Path[/usr/local/lib/OGRE]
Adding a sky dome
terminate called after throwing an instance of 'int'
Aborted (core dumped)

Checking the end of the Ogre.log I get this:

14:14:08: Parsing script Gazebo.fontdef
14:14:08: Parsing script sample.fontdef
14:14:08: Bad attribute line: glyph             0.152344        0.125
 0.160156        0.1875 in font Ogre
14:14:08: Finished parsing scripts for resource group General
14:14:08: Parsing scripts for resource group Internal
14:14:08: Finished parsing scripts for resource group Internal
14:14:08: FreeImage error: 'JPEG parameter struct mismatch: library
thinks size is 464, caller expects 428' when loading format JPEG

Any ideas?

Brett Graham

This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
Playerstage-gazebo mailing list

Jordi Polo Carres
Natural language processing laboratory