POV-Ray : Newsgroups : povray.unofficial.patches : Unable to compile Uberpov on FreeBSD 10 : Unable to compile Uberpov on FreeBSD 10 Server Time
20 Apr 2024 07:20:17 EDT (-0400)
  Unable to compile Uberpov on FreeBSD 10  
From: jhu
Date: 15 Sep 2014 22:00:00
Message: <web.541798a1e1fd62ffd19b0ec40@news.povray.org>
It compiles fine on Ubuntu 14.04. On FreeBSD 10, using gcc 4.8, I get the
following:

depbase=`echo optout.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`; g++ -DHAVE_CONFIG_H
-I. -I..   -I..  -I../source/backend  -I../source/base  -I../source/frontend
-I../unix  -I../vfe  -I../vfe/unix -I/usr/local/include/SDL -I/usr/local/include
-D_GNU_SOURCE=1 -D_REENTRANT -D_THREAD_SAFE -pthread
-I/usr/local/include/OpenEXR    -pthread -I/usr/local/include  -I/usr/include
-pipe -Wno-multichar -Wno-write-strings -fno-enforce-eh-specs
-Wno-non-template-friend -s -O3 -ffast-math -D_THREAD_SAFE -pthread -MT optout.o
-MD -MP -MF $depbase.Tpo -c -o optout.o optout.cpp && mv -f $depbase.Tpo
$depbase.Po
In file included from backend/frame.h:67:0,
                 from optout.cpp:42:
../base/colour.h: In member function 'pov_base::GenericTrans<COLOUR_T>::Channel
pov_base::GenericTrans<COLOUR_T>::LegacyOpacity(const Colour&) const':
../base/colour.h:1132:28: error: 'col' was not declared in this scope
             return Opacity(col);
                            ^
In file included from backend/frame.h:67:0,
                 from optout.cpp:42:
../base/colour.h: In constructor
'pov_base::GenericTransColour<CT>::GenericTransColour(const Colour&,
pov_base::GenericTransColour<CT>::Channel,
pov_base::GenericTransColour<CT>::Channel)':
../base/colour.h:1933:13: error: class 'pov_base::GenericTransColour<CT>' does
not have any field named 'mFilter'
             mFilter(filter),
             ^
../base/colour.h:1934:13: error: class 'pov_base::GenericTransColour<CT>' does
not have any field named 'mTransm'
             mTransm(transm)
             ^
*** Error code 1

Stop.
make[2]: stopped in /tank/jhu/temp/UberPOV-master/source
*** Error code 1

Stop.
make[1]: stopped in /tank/jhu/temp/UberPOV-master
*** Error code 1

Stop.

Should there be something in front of 'col'? And what to do about mFilter and
mTransm?


Post a reply to this message

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