JPEG problem (Linux)

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
L_Draven
Posts: 21
Joined: Sun Mar 07, 2004 11:36 am

JPEG problem (Linux)

Post by L_Draven »

When i load a texture with drv->getTexture() or load a model that the same model load automatically the tex. I have this error.

JPEG parameter struct mismatch: library thinks size is 464, caller expects 428

Any Idea???

Thanks.
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

I think this occurs when you use the jpegLib which is installed on your pc, and not the version which comes with Irrlicht.
L_Draven
Posts: 21
Joined: Sun Mar 07, 2004 11:36 am

Post by L_Draven »

I put the libjpeg.a of irrlicht "lib/Linux" folder with the other two libraries in "/usr/lib" fodler of linux and I especific in the linker flags "-L"/usr/lib/libjpeg.a" but give me the same error :-(.

Thanks.
Tels
Posts: 65
Joined: Fri Feb 27, 2004 7:56 pm
Location: Antarctica
Contact:

Post by Tels »

"I think this occurs when you use the jpegLib which is installed on your pc, and not the version which comes with Irrlicht."

Btw, is there a reason why Irrlicht ships older versions of these libraries, instead of using the original installed version? Thats very unclean and messes with the system, because you now got two (probably) conflicting versions installed :-/

Best wishes,

Tels
Perl + Irrlicht + Audiere = Game: http://bloodgate.com/perl/game
Post Reply