POV-Ray : Newsgroups : povray.beta-test : Cannot output to JPEG under Linux : Re: Cannot output to JPEG under Linux Server Time
1 Jun 2024 04:21:21 EDT (-0400)
  Re: Cannot output to JPEG under Linux  
From: James Holsenback
Date: 5 Feb 2012 15:01:03
Message: <4f2edfff@news.povray.org>
On 02/03/2012 01:43 PM, Cousin Ricky wrote:
> When rendering a scene with +FJ, POV-Ray failed with the following message:
>
>    JPEG parameter struct mismatch: library thinks size is 428, caller expects 432
>    JPEG parameter struct mismatch: library thinks size is 428, caller expects 432
>    Render failed
>
> This happened after the render was finished and all the statistics were
> displayed.
>
> I suspect that it has to do with my external monitor not being exactly the same
> size as the built-in panel.  I never had this problem under Windows.
>
> POV-Ray version: 3.7RC3
> Operating system: openSUSE Linux 12.1
> Hardware: HP Pavilion dv5030us Notebook PC (32 bits)
> RAM: 1GB
> Displays: 1280x800 built-in panel; 1680x1050 HP w2007 external monitor
>
>
>
Yep ... I'm getting similar message from my fresh new opesuse12.1 install.

JPEG parameter struct mismatch: library thinks size is 372, caller 
expects 376
JPEG parameter struct mismatch: library thinks size is 372, caller 
expects 376

Notice the different size(s) in my message. Your follow up indicated 
that you installed 8d ... I'm surprised that you didn't have a libtif 
conflict. I did some investigation and found that (via the software 
manager) as I was making sure all the build environment stuff was 
installed I decided to give jpegv8 a try (I knew better but was curious) 
it uninstalled my libtif! Hey didn't want to break dependencies, and 
didn't realize my foo until configure complained. Sooo ... I'd say 
jpegv8 is definitively out, and the povray build README says it ain't a 
happening thing. Once I got the v8 stuff removed and the v62 stuff back 
(and libtif) ... I'm still having problems writing jpg output. The 
version that the repositories (12.1) have MUST be wrong! I think there 
must be older versions of libjpeg out there, but since I'm more apt to 
write png, I'm willing to live with it, and keep OTHER things from being 
busted ;-)

On a similar note ... I also had a problem /reading/ png files until 
installed libpng14-compat-devel the synopsis recommended the package for 
programs that don't care about certain header (.h file) information. I 
guess this was necessary because the 12.1 repositories version got 
bumped up a notch from the last time I did a build.


Post a reply to this message

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