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 07:04:13 EDT (-0400)
  Re: POV-Ray 3.7 RC 6 not compiling  
From: clipka
Date: 9 Jul 2012 19:01:15
Message: <4ffb62bb$1@news.povray.org>
Am 09.07.2012 20:31, schrieb Chaanakya:
> 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?

Do you happen to have multiple versions of libpng installed? Is the 
libpng-dev up to date to match the libpng version?


Post a reply to this message

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