POV-Ray : Newsgroups : povray.unofficial.patches : MegaPov 2.1 do not compile? Server Time
29 Apr 2024 11:46:46 EDT (-0400)
  MegaPov 2.1 do not compile? (Message 1 to 3 of 3)  
From: Raf256
Subject: MegaPov 2.1 do not compile?
Date: 26 Nov 2005 00:48:35
Message: <1g9l53-ubv.ln1@raf256.com>
[...]


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

-- 


Post a reply to this message

From: Jason Munro
Subject: Re: MegaPov 2.1 do not compile?
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

From: MATSUURA Takanori
Subject: Re: MegaPov 2.1 do not compile?
Date: 30 Mar 2007 07:45:01
Message: <web.460d062b31c15855a35ff1f20@news.povray.org>
The function "png_write_finish_row" is exported by PNG_EXTERN in png.h.
So it is PNG_INTERNAL fuction which is usually used outside of libpng
(written in pngconf.h).

I hope it is not included in the povray-3.7 source.


Post a reply to this message

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