POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 2.1 do not compile? : Re: MegaPov 2.1 do not compile? Server Time
14 May 2024 23:29:52 EDT (-0400)
  Re: MegaPov 2.1 do not compile?  
From: Jason Munro
Date: 24 Dec 2005 23:45:00
Message: <web.43ae234a31c1585559306b770@news.povray.org>
Raf256 <spa### [at] raf256cominvalid> wrote:
> [...]
>
>
> make[2]: Entering directory
> `/home/raf256/cre.os/povray/megapov/megapov-1.2.1/unix'
> g++  -pipe -Wno-multichar -s -O3 -ffast-math -malign-double
> -minline-all-stringops -m3dnow -m3dnow -march=athlon -mtune=athlon
> -L/usr/X11R6/lib  -o megapov  svga.o unix.o
> xwin.o ../source/libpovray.a ../source/base/libbase.a
../source/frontend/libfrontend.a ../source/patches/libmegapov.a

> -ltiff -ljpeg -lpng12 -lz -lXpm   -lSM -lICE -lX11 -lvgagl -lvga -lm
> ../source/libpovray.a(png_pov.o): In function
> `pov::PNG_Image::~PNG_Image()':
> png_pov.cpp:(.text+0x194): undefined reference to `png_write_finish_row'
> ../source/libpovray.a(png_pov.o): In function
> `pov::PNG_Image::~PNG_Image()':
> png_pov.cpp:(.text+0x2a2a): undefined reference to `png_write_finish_row'
> ../source/libpovray.a(png_pov.o): In function
> `pov::PNG_Image::~PNG_Image()':
> png_pov.cpp:(.text+0x2c0a): undefined reference to `png_write_finish_row'
>
> any idea what might be wrong? on Debian Unstable
>
> --


I had a similar problem compiling povray 3.6.1 but fixed it by removing
libpng12-dev which forces povray to link to libpng10-dev. Removing this
package with apt removes several other -dev packages but it's easy enough
to add them back after compiling.

HTH

Jason


Post a reply to this message

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