POV-Ray : Newsgroups : povray.unix : Compiling Povray 3.5 on Debian Linux. Server Time
3 Jul 2024 14:37:16 EDT (-0400)
  Compiling Povray 3.5 on Debian Linux. (Message 1 to 2 of 2)  
From: Fran Firman
Subject: Compiling Povray 3.5 on Debian Linux.
Date: 17 Dec 2003 15:12:12
Message: <3fe0b89c@news.povray.org>
When compiling the povray 3.5 sources, I'm failing on tiff libaries.

c++  `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -O3 
-finline-functions -ffast-math -fomit-frame-pointer -funroll-loops 
-fexpensive-optimizations -malign-double -foptimize-sibling-calls 
-minline-all-stringops -Wno-multichar -I/usr/X11R6/include -o povray 
atmosph.o bbox.o bcyl.o benchmark.o bezier.o blob.o boxes.o bsphere.o 
camera.o chi2.o colour.o colutils.o cones.o csg.o discs.o express.o 
file_pov.o fncode.o fnintern.o fnpovfpu.o fnsyntax.o fpmetric.o 
fractal.o function.o gif.o gifdecod.o hcmplx.o hfield.o histogra.o iff.o 
image.o interior.o isosurf.o jpeg_pov.o lathe.o lbuffer.o lightgrp.o 
lighting.o matrices.o media.o mesh.o normal.o objects.o octree.o optin.o 
optout.o parse.o parsestr.o parstxtr.o pattern.o pgm.o photons.o 
pigment.o planes.o png_pov.o point.o poly.o polygon.o polysolv.o 
pov_mem.o povms.o povmscpp.o povmsend.o povmsrec.o povray.o pov_util.o 
ppm.o prism.o quadrics.o quatern.o rad_data.o radiosit.o ray.o render.o 
renderio.o sor.o spheres.o sphsweep.o splines.o statspov.o super.o 
targa.o texture.o tiff_pov.o tokenize.o torus.o triangle.o truetype.o 
txttest.o userdisp.o userio.o vbuffer.o vlbuffer.o warps.o unix.o 
povxlib.o -L/usr/X11R6/lib -ljpeg -lpng -lz -lm  -lX11
optout.o(.text+0x83a): In function `Print_Authors()':
: undefined reference to `TIFFGetVersion'
tiff_pov.o(.text+0x2d): In function `Read_Tiff_Image(Image_Struct*, char*)':
: undefined reference to `TIFFSetWarningHandler'
tiff_pov.o(.text+0x39): In function `Read_Tiff_Image(Image_Struct*, char*)':
: undefined reference to `TIFFSetErrorHandler'
tiff_pov.o(.text+0x46): In function `Read_Tiff_Image(Image_Struct*, char*)':
: undefined reference to `TIFFOpen'
tiff_pov.o(.text+0x69): In function `Read_Tiff_Image(Image_Struct*, char*)':
: undefined reference to `TIFFGetField'
tiff_pov.o(.text+0x7f): In function `Read_Tiff_Image(Image_Struct*, char*)':
: undefined reference to `TIFFGetField'
tiff_pov.o(.text+0x95): In function `Read_Tiff_Image(Image_Struct*, char*)':
: undefined reference to `TIFFGetField'
tiff_pov.o(.text+0xab): In function `Read_Tiff_Image(Image_Struct*, char*)':
: undefined reference to `TIFFGetField'
tiff_pov.o(.text+0xc1): In function `Read_Tiff_Image(Image_Struct*, char*)':
: undefined reference to `TIFFGetField'
tiff_pov.o(.text+0xd7): more undefined references to `TIFFGetField' follow
tiff_pov.o(.text+0xf1): In function `Read_Tiff_Image(Image_Struct*, char*)':
: undefined reference to `TIFFGetFieldDefaulted'
tiff_pov.o(.text+0x105): In function `Read_Tiff_Image(Image_Struct*, 
char*)':
: undefined reference to `TIFFGetFieldDefaulted'
tiff_pov.o(.text+0x158): In function `Read_Tiff_Image(Image_Struct*, 
char*)':
: undefined reference to `TIFFScanlineSize'
tiff_pov.o(.text+0x1fb): In function `Read_Tiff_Image(Image_Struct*, 
char*)':
: undefined reference to `TIFFReadRGBAImage'
tiff_pov.o(.text+0x356): In function `Read_Tiff_Image(Image_Struct*, 
char*)':
: undefined reference to `TIFFClose'
tiff_pov.o(.text+0x3d7): In function `Read_Tiff_Image(Image_Struct*, 
char*)':
: undefined reference to `TIFFGetField'
tiff_pov.o(.text+0x506): In function `Read_Tiff_Image(Image_Struct*, 
char*)':
: undefined reference to `TIFFStripSize'
tiff_pov.o(.text+0x565): In function `Read_Tiff_Image(Image_Struct*, 
char*)':
: undefined reference to `TIFFComputeStrip'
tiff_pov.o(.text+0x572): In function `Read_Tiff_Image(Image_Struct*, 
char*)':
: undefined reference to `TIFFReadEncodedStrip'
collect2: ld returned 1 exit status


Now this looks like I either don't have the correct tiff lib installed 
or the development files installed.

I have the packages called - libtiff3g and libtiff3g-dev installed.

Thoughts anyone?

Fran


Post a reply to this message

From: Christoph Hormann
Subject: Re: Compiling Povray 3.5 on Debian Linux.
Date: 17 Dec 2003 15:32:04
Message: <skq6b1-qil.ln1@triton.imagico.de>
Fran Firman wrote:
> When compiling the povray 3.5 sources, I'm failing on tiff libaries.
> 
> c++  `if [ "Xgcc" = "Xgcc" ]; then echo "-Wno-multichar"; fi ` -O3 
> -finline-functions -ffast-math -fomit-frame-pointer -funroll-loops 
> -fexpensive-optimizations -malign-double -foptimize-sibling-calls 
> -minline-all-stringops -Wno-multichar -I/usr/X11R6/include -o povray 
> atmosph.o bbox.o bcyl.o benchmark.o bezier.o blob.o boxes.o bsphere.o 
> camera.o chi2.o colour.o colutils.o cones.o csg.o discs.o express.o 
> file_pov.o fncode.o fnintern.o fnpovfpu.o fnsyntax.o fpmetric.o 
> fractal.o function.o gif.o gifdecod.o hcmplx.o hfield.o histogra.o iff.o 
> image.o interior.o isosurf.o jpeg_pov.o lathe.o lbuffer.o lightgrp.o 
> lighting.o matrices.o media.o mesh.o normal.o objects.o octree.o optin.o 
> optout.o parse.o parsestr.o parstxtr.o pattern.o pgm.o photons.o 
> pigment.o planes.o png_pov.o point.o poly.o polygon.o polysolv.o 
> pov_mem.o povms.o povmscpp.o povmsend.o povmsrec.o povray.o pov_util.o 
> ppm.o prism.o quadrics.o quatern.o rad_data.o radiosit.o ray.o render.o 
> renderio.o sor.o spheres.o sphsweep.o splines.o statspov.o super.o 
> targa.o texture.o tiff_pov.o tokenize.o torus.o triangle.o truetype.o 
> txttest.o userdisp.o userio.o vbuffer.o vlbuffer.o warps.o unix.o 
> povxlib.o -L/usr/X11R6/lib -ljpeg -lpng -lz -lm  -lX11

There is no -ltiff here - obviously it can't work then.

Christoph

-- 
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 25 Oct. 2003 _____./\/^>_*_<^\/\.______


Post a reply to this message

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