POV-Ray : Newsgroups : povray.beta-test : Error using libjpeg 7/8 Server Time
30 Jun 2024 13:30:41 EDT (-0400)
  Error using libjpeg 7/8 (Message 1 to 1 of 1)  
From: Telek
Subject: Error using libjpeg 7/8
Date: 28 Apr 2010 01:32:39
Message: <4bd7c877$1@news.povray.org>
Just ran into an interesting issue with a 3dsmax model converted into 
povray 1-2 years ago via poseray. When povray 3.7beta37 is compiled with 
libjpeg7 or libjpeg8 it will fail on the first jpg texture with the 
following error:
File 'frigate_POV_mat.inc' line 50: Possible Parse Error: JPEG parameter 
struct mismatch: library thinks size is 484, caller expects 488
Fatal error in parser: Cannot access data in file.
Render failed

Just to verify this was an issue with the newer libjpeg handling and not 
with the file itself I tried rendering the same scene with megapov 
(compiled against libjpeg 6.2) and then recompiled beta37 against 6.2 
instead of 8. Problem disappeared.

Seems like this major revision of libjpeg would've been a nice time for 
them to spin the headers off into seperate directories, at least on unix, 
to make it lessy messy to keep multiple copies side-by-side for exactly 
this issue.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.