[tuhopuu-devel] Error question

Jonathan Merritt tuhopuu-devel@blender.org
Wed, 02 Jun 2004 17:06:16 +1000


Hi Trip,

This is just a guess, but I suspect that you may perhaps be linking 
against one version of the JPEG library (headers) at compile time, and 
executing the compiled code with a different version.  The error you 
have encountered looks like some sort of check to make sure that the 
struct sizes between the caller (Blender) and the library agree with 
each other.  In the abscence of any more information, it would be worth 
checking your build environment to rule out this possibility.

Note that the Aqsis code doesn't yet rely on the JPEG library in any way 
that I'm aware of.  Aqsis uses libtiff internally to write files, and we 
haven't got as far as exporting image textures and so forth from Blender 
yet.  I'm struggling to see how this could be Aqsis-specific.

It may also help if you can provide the OS under which you are 
compiling, the build method (scons?), the compiler (eg: gcc), and the 
time/date of code checkout.  If you are using scons, I have set up some 
build flags to compile the Aqsis Tuhopuu tree *without* Aqsis support.  
You could try this to satisfy yourself that it's not an Aqsis problem.

Please let us know if you continue to have problems.  I am currently 
working on the code under Linux.  Paul Gregory is hacking away at the 
exporter code, and I believe he is using Windoze.  Both of us have "it 
works for me" builds happening, and are very keen to start ironing out 
any problems.

Jonathan Merritt.

> Building a Aqsis build of tuhopuu
>
> I get this when starting the app
>
> JPEG parameter struct mismatch: library thinks size is 520, caller 
> expects 464
>
> What could it be? Just so I might be able to trouble it with them from 
> you..
>
> _______________________________________________
> tuhopuu-devel mailing list
> tuhopuu-devel@blender.org
> http://www.blender.org/mailman/listinfo/tuhopuu-devel
>