POV-Ray : Newsgroups : povray.unix : POV-Ray 3.7 RC 6 not compiling : Re: POV-Ray 3.7 RC 6 not compiling Server Time
28 Apr 2024 05:55:59 EDT (-0400)
  Re: POV-Ray 3.7 RC 6 not compiling  
From: Le Forgeron
Date: 9 Jul 2012 15:16:34
Message: <4ffb2e12@news.povray.org>
Le 09/07/2012 20:31, Chaanakya nous fit lire :
> Hey guys!  Quick question.
> 
> Currently, I have POV-Ray 3.6 installed and working.  I am trying to get POV-Ray
> 3.7 working (mainly for the multithreading).  ./configure works fine (exits with
> no errors).  However, make throws several errors, the most severe of which is:
> 
> ..../source/base/libbase.a(png.o): In function `ReadPNGUpdateInfo':
> png.cpp:(.text+0x36b): undefined reference to `png_set_longjmp_fn'
> ..../source/base/libbase.a(png.o): In function `ReadPNGImage':
> png.cpp:(.text+0x3bb): undefined reference to `png_set_longjmp_fn'
> ..../source/base/libbase.a(png.o): In function
> `pov_base::Png::Write(pov_base::OStream*, pov_base::Image const*,
> pov_base::Image::WriteOptions const&)':
> png.cpp:(.text+0x21a5): undefined reference to `png_set_longjmp_fn'
> png.cpp:(.text+0x2c5b): undefined reference to `png_set_longjmp_fn'
> collect2: error: ld returned 1 exit status
> make[2]: *** [povray] Error 1
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2
> 
> I googled the error and did not get much to go from.  Has anyone else
> encountered this error and if so, how did you fix it?
> 
> Thank you very much!
> 
>
I had no problem with 3.7RC6 (ubuntu 12.04)

your issue seems tied to the libpng and its linking in the final binary.

what is your reported version of libpng ? (check config.log)

I'm still with 1.2.4 (aka libpng12)

What's the end of output of configure ? (was PNG found ?)


Post a reply to this message

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