POV-Ray : Newsgroups : povray.unix : Compile error help needed Server Time
31 Oct 2024 05:59:57 EDT (-0400)
  Compile error help needed (Message 1 to 7 of 7)  
From: earthdog
Subject: Compile error help needed
Date: 31 Mar 2003 16:19:25
Message: <pan.2003.03.31.21.19.24.367366@NOSPAMevil3d.net>
I've compiled pov from source a few times, but this is the first time I've
had this problem.

I configure like so:

CXX='g++ -O3 -march=athlon-tbird -mcpu=athlon-tbird -fomit-frame-pointer
-falign-functions=6 -funroll-loops -ffast-math -malign-double -m3dnow
-mmmx' LDFLAGS='-dynamic' ./configure

and then "make".

This is the error I get back:

g++ -O3 -march=athlon-tbird -mcpu=athlon-tbird -fomit-frame-pointer
-falign-functions=6 -funroll-loops -ffast-math -malign-double -m3dnow
-mmmx -DPREFIX=\"/usr/local\"
-DPOV_LIB_DIR=\"/usr/local/share/povray-3.5\"
-DCOMPILER_VER=\".Linux.gcc\" -DSYSCONFDIR=\"/usr/local/etc\"
-DUSE_IO_RESTRICTIONS=\"\"     `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 -c tiff_pov.cpp tiff_pov.cpp:46:20: tiffio.h: No such file
or directory tiff_pov.cpp:55: type specifier omitted for parameter
`uint16' tiff_pov.cpp:55: parse error before `*' token tiff_pov.cpp: In
function `int checkcmap(...)': tiff_pov.cpp:57: `n' undeclared (first use
this function) tiff_pov.cpp:57: (Each undeclared identifier is reported
only once for each function it appears in.) tiff_pov.cpp:58: `r'
undeclared (first use this function) tiff_pov.cpp:58: `g' undeclared
(first use this function) tiff_pov.cpp:58: `b' undeclared (first use this
function) tiff_pov.cpp: At global scope:
tiff_pov.cpp:65: type specifier omitted for parameter `va_list'
tiff_pov.cpp: In function `void Read_Tiff_Image(IMAGE*, char*)':
tiff_pov.cpp:98: `uint16' undeclared (first use this function)
tiff_pov.cpp:98: parse error before `,' token tiff_pov.cpp:100: `uint32'
undeclared (first use this function) tiff_pov.cpp:102: `TIFF' undeclared
(first use this function) tiff_pov.cpp:102: `tif' undeclared (first use
this function) tiff_pov.cpp:111: `TIFFSetWarningHandler' undeclared (first
use this function) tiff_pov.cpp:112: `TIFFSetErrorHandler' undeclared
(first use this function) tiff_pov.cpp:115: `TIFFOpen' undeclared (first
use this function) tiff_pov.cpp:121: `TIFFTAG_IMAGEWIDTH' undeclared
(first use this function) tiff_pov.cpp:121: `TIFFGetField' undeclared
(first use this function) tiff_pov.cpp:122: `TIFFTAG_IMAGELENGTH'
undeclared (first use this function) tiff_pov.cpp:123:
`TIFFTAG_BITSPERSAMPLE' undeclared (first use this function)
tiff_pov.cpp:123: `BitsPerSample' undeclared (first use this function)
tiff_pov.cpp:124: `TIFFTAG_ROWSPERSTRIP' undeclared (first use this
function) tiff_pov.cpp:124: `RowsPerStrip' undeclared (first use this
function) tiff_pov.cpp:125: `TIFFTAG_PHOTOMETRIC' undeclared (first use
this function) tiff_pov.cpp:125: `PhotometricInterpretation' undeclared
(first use this function) tiff_pov.cpp:126: `TIFFTAG_ORIENTATION'
undeclared (first use this function) tiff_pov.cpp:126: `Orientation'
undeclared (first use this function) tiff_pov.cpp:127:
`TIFFTAG_SAMPLESPERPIXEL' undeclared (first use this
function)tiff_pov.cpp:127: `SamplePerPixel' undeclared (first use this
function) tiff_pov.cpp:127: `TIFFGetFieldDefaulted' undeclared (first use
this function) tiff_pov.cpp:128: `TIFFTAG_EXTRASAMPLES' undeclared (first
use this function) tiff_pov.cpp:135: `TIFFScanlineSize' undeclared (first
use this function) tiff_pov.cpp:165: `PHOTOMETRIC_PALETTE' undeclared
(first use this function) tiff_pov.cpp:166: `red' undeclared (first use
this function) tiff_pov.cpp:166: `green' undeclared (first use this
function) tiff_pov.cpp:166: `blue' undeclared (first use this function)
tiff_pov.cpp:179: `TIFFTAG_COLORMAP' undeclared (first use this function)
tiff_pov.cpp:207: `TIFFStripSize' undeclared (first use this function)
tiff_pov.cpp:213: `TIFFComputeStrip' undeclared (first use this function)
tiff_pov.cpp:213: `TIFFReadEncodedStrip' undeclared (first use this
function) tiff_pov.cpp:229: `buf' undeclared (first use this function)
tiff_pov.cpp:229: parse error before `)' token tiff_pov.cpp:231:
`TIFFReadRGBAImage' undeclared (first use this function) tiff_pov.cpp:232:
parse error before `,' token tiff_pov.cpp:241: `abgr' undeclared (first
use this function) tiff_pov.cpp:241: `tbuf' undeclared (first use this
function) tiff_pov.cpp:242: `TIFFGetB' undeclared (first use this
function) tiff_pov.cpp:243: `TIFFGetG' undeclared (first use this
function) tiff_pov.cpp:244: `TIFFGetR' undeclared (first use this
function) tiff_pov.cpp:245: `TIFFGetA' undeclared (first use this
function) tiff_pov.cpp:251: `TIFFClose' undeclared (first use this
function) make[1]: *** [tiff_pov.o] Error 1
make[1]: Leaving directory `/home/jgentry/temp/povray-3.50c/src' make: ***
[all-recursive] Error 1

I'm attempting the compile on Mandrake 9.1.  I have the kernel header
installed.  I'm just not familiar with what is going on as I've never had
this happen before.

Thanks for your help,

--Jeff


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Compile error help needed
Date: 31 Mar 2003 17:02:47
Message: <3e88bb07$1@news.povray.org>
In article <pan### [at] NOSPAMevil3dnet> , "earthdog" 
<ear### [at] NOSPAMevil3dnet> wrote:

> I'm attempting the compile on Mandrake 9.1.  I have the kernel header
> installed.  I'm just not familiar with what is going on as I've never had
> this happen before.

If you compile POV-Ray yourself, you should at least know a tiny bit about
using a compiler - you are missing the TIFF library header files.

    Thorsten


Post a reply to this message

From: Thorsten Froehlich
Subject: Re: Compile error help needed
Date: 31 Mar 2003 17:04:17
Message: <3e88bb61$1@news.povray.org>
In article <pan### [at] NOSPAMevil3dnet> , "earthdog" 
<ear### [at] NOSPAMevil3dnet> wrote:

> -Wno-multichar -c tiff_pov.cpp tiff_pov.cpp:46:20: tiffio.h: No such file
> or directory tiff_pov.cpp:55: type specifier omitted for parameter

FYI, here it tells you...


Post a reply to this message

From: earthdog
Subject: Re: Compile error help needed
Date: 31 Mar 2003 18:07:18
Message: <3e88ca26@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:3e88bb61$1@news.povray.org...
> In article <pan### [at] NOSPAMevil3dnet> , "earthdog"
> <ear### [at] NOSPAMevil3dnet> wrote:
>
> > -Wno-multichar -c tiff_pov.cpp tiff_pov.cpp:46:20: tiffio.h: No such
file
> > or directory tiff_pov.cpp:55: type specifier omitted for parameter
>
> FYI, here it tells you...

Doh....   I knew that.  Well, not really.  Thanks.  Off to the net...

--Jeff


Post a reply to this message

From: earthdog
Subject: Re: Compile error help needed
Date: 4 Apr 2003 18:02:36
Message: <pan.2003.04.04.23.02.36.122885@NOSPAMshawus.com>
On Tue, 01 Apr 2003 00:04:19 +0200, Thorsten Froehlich wrote:

> In article <pan### [at] NOSPAMevil3dnet> , "earthdog" 
> <ear### [at] NOSPAMevil3dnet> wrote:
> 
>> -Wno-multichar -c tiff_pov.cpp tiff_pov.cpp:46:20: tiffio.h: No such file
>> or directory tiff_pov.cpp:55: type specifier omitted for parameter
> 
> FYI, here it tells you...


Can you point me in the right direction for obtining these files?  I'm
lost.  I've looked through my distro files, no joy.

--Jeff


Post a reply to this message

From: Roz
Subject: Re: Compile error help needed
Date: 9 Apr 2003 12:29:33
Message: <3e944a6d@news.povray.org>
earthdog wrote:
> On Tue, 01 Apr 2003 00:04:19 +0200, Thorsten Froehlich wrote:
> 
> 
>>In article <pan### [at] NOSPAMevil3dnet> , "earthdog" 
>><ear### [at] NOSPAMevil3dnet> wrote:
>>
>>
>>>-Wno-multichar -c tiff_pov.cpp tiff_pov.cpp:46:20: tiffio.h: No such file
>>>or directory tiff_pov.cpp:55: type specifier omitted for parameter
>>
>>FYI, here it tells you...
> 
> 
> 
> Can you point me in the right direction for obtining these files?  I'm
> lost.  I've looked through my distro files, no joy.
> 
> --Jeff

I don't know if you solved the tiffio.h issue yet but if not then what 
you need to do is search for libtiff. I'm not familiar with Mandrake so 
I can't point you to where on their site you can get the libtiff rpm but 
   you could try http://rpmfind.net and search for libtiff. Another 
alternative is http://www.libtiff.org but it would probably be better 
for you if you could find the appropriate rpm for your distro.

-Roz


Post a reply to this message

From: earthdog
Subject: Re: Compile error help needed
Date: 10 Apr 2003 20:06:56
Message: <3e960720@news.povray.org>
"Roz" <rzl### [at] netscapenet> wrote in message
news:3e944a6d@news.povray.org...
> earthdog wrote:
> > On Tue, 01 Apr 2003 00:04:19 +0200, Thorsten Froehlich wrote:
> >
> >
> >>In article <pan### [at] NOSPAMevil3dnet> ,
"earthdog"
> >><ear### [at] NOSPAMevil3dnet> wrote:
> >>
> >>
> >>>-Wno-multichar -c tiff_pov.cpp tiff_pov.cpp:46:20: tiffio.h: No such
file
> >>>or directory tiff_pov.cpp:55: type specifier omitted for parameter
> >>
> >>FYI, here it tells you...
> >
> >
> >
> > Can you point me in the right direction for obtining these files?  I'm
> > lost.  I've looked through my distro files, no joy.
> >
> > --Jeff
>
> I don't know if you solved the tiffio.h issue yet but if not then what
> you need to do is search for libtiff. I'm not familiar with Mandrake so
> I can't point you to where on their site you can get the libtiff rpm but
>    you could try http://rpmfind.net and search for libtiff. Another
> alternative is http://www.libtiff.org but it would probably be better
> for you if you could find the appropriate rpm for your distro.
>
> -Roz
>

I solved the problem.  It was simply that the libtiff-devel libs were not
installed.  I didn't think to look for that at first as I always install all
devel libs and I've never had to worry about it before.  Apparently, the
libtiff-devel package was left out of the devel list for 9.1.

--Jeff


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.470 / Virus Database: 268 - Release Date: 4/8/2003


Post a reply to this message

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