POV-Ray : Newsgroups : povray.unix : Compiling 3.5 source on Linux also fails : Compiling 3.5 source on Linux also fails Server Time
28 Jul 2024 10:27:54 EDT (-0400)
  Compiling 3.5 source on Linux also fails  
From: Nicolas Calimet
Date: 1 Aug 2002 13:01:41
Message: <3D496974.4060507@free.fr>
PovRay-3.50a (as of 2002-08-01)
gcc-3.1

Just like the message reported before, I also have compiling trouble,
but here as soon as the first .cpp file:


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)
make[1]: *** [atmosph.o] Error 1


I suspect many other problems  ;op


BTW, compilation obviously is made _without any_ optimization
(even no -O2 or -O3). It would be nice to add tests for compiler
flags into configure.in. I can provide a macro for that (which works
with the newer autoconf-2.53). If the binary distributed was compiled
in similar conditions, of course it will be MUCH SLOWER than anything
else (e.g. windows binary)

Thanx for releasing the sources anyway !!

- N.C.


Post a reply to this message

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