POV-Ray : Newsgroups : povray.unix : Compiling 3.5 on IRIX 6.5 : Re: Compiling 3.5 on IRIX 6.5 Server Time
28 Jul 2024 10:19:46 EDT (-0400)
  Re: Compiling 3.5 on IRIX 6.5  
From: Ken Cecka
Date: 5 Aug 2002 14:54:46
Message: <3d4ec9f5@news.povray.org>
I think there are some threads further down talking about namespaces and the 
STL (the STL provides generic templates for min/max which work with any 
comparable types).  I of course neglected to read these suggestions before 
I compiled and took a more brute-force approach by changing all calls to 
min/max to fmin/fmax (and you also have to change min3 and max3).  Not sure 
if fmin/fmax will be available on IRIX though.

Ken

Michael DiDonato wrote:

> I am having problems getting povray 3.5 to compile on my SGI with IRIX
> 6.5. I get the following errors:
> 
> gmake[1]: Entering directory `/home/didonato/temp/povray-3.50a/src'
> g++ -DPREFIX=\"/home/didonato/bin/povray\"
> -DPOV_LIB_DIR=\"/home/didonato/bin/povray/share/povray-3.5\"
> -DCOMPILER_VER=\".Linux.gcc\"
> -DSYSCONFDIR=\"/home/didonato/bin/povray/etc\"
> -I/usr/freeware/include  `if [ "Xgcc" = "Xgcc" ]; then echo
> "-Wno-multichar"; fi ` -c atmosph.cpp
> atmosph.cpp: In function `void do_rainbow(RAY*, INTERSECTION*, float*)':
> 
> atmosph.cpp:502: `max' undeclared (first use this function)
> atmosph.cpp:502: (Each undeclared identifier is reported only once for
> each
>    function it appears in.)
> atmosph.cpp: In function `double constant_fog(RAY*, double, double,
> FOG*,
>    float*)':
> atmosph.cpp:688: `min' undeclared (first use this function)
> gmake[1]: *** [atmosph.o] Error 1
> gmake[1]: Leaving directory `/home/didonato/temp/povray-3.50a/src'
> gmake: *** [all-recursive] Error 1
> 
> Has anyone successfully compiled it for IRIX?
> 
> 
> Mike
> 
> 
> --
> *********************************
> Michael DiDonato, PhD
> The Scripps Research Institute
> Department of Molecular Biology
> Maildrop MB4
> 10550 North Torrey Pines Road
> La Jolla, CA, 92037
> 
> Tel: (858) 784-9261
> FAX: (858) 784-2277
> 
> http://www.scripps.edu/~didonato
> *********************************


Post a reply to this message

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