POV-Ray : Newsgroups : povray.unofficial.patches : Unable to compile Uberpov on FreeBSD 10 : Re: Unable to compile Uberpov on FreeBSD 10 Server Time
25 Apr 2024 14:06:40 EDT (-0400)
  Re: Unable to compile Uberpov on FreeBSD 10  
From: jhu
Date: 16 Sep 2014 10:45:01
Message: <web.54184c89a13d505ed19b0ec40@news.povray.org>
clipka <ano### [at] anonymousorg> wrote:

> This is probably also code that's not actually used yet.
>
>
> I hate BSD (and GNU/Linux, for that matter). They keep exposing sloppy
> non-ANSI-compliant code that works so nicely on Windows. :-P
>
>
> If the above works for you, please remind me to add the fix to UberPOV
> or POV-Ray, wherever that code originates from.

Thanks that works so far, until...
depbase=`echo base/colour.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  -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 base/colour.o -MD -MP -MF
$depbase.Tpo -c -o base/colour.o base/colour.cpp && mv -f $depbase.Tpo
$depbase.Po
base/colour.cpp: In instantiation of 'static void
pov_base::ColourModelInternal4::MetamericNormalize(CHANNEL_T*) [with CHANNEL_T =
float; MODEL_FROM_T = pov_base::ColourModelRGB]':
base/colour.cpp:148:119:   required from here
base/colour.cpp:54:86: error: dependent-name 'MODEL_FROM_T:: Whitepoint' is
parsed as a non-type, but instantiation yields a type
     const ColourChannel* pWhitepoint =
GetWhitepointVector<MODEL_FROM_T::Whitepoint>();

     ^
base/colour.cpp:54:86: note: say 'typename MODEL_FROM_T:: Whitepoint' if a type
is meant
base/colour.cpp: In instantiation of 'static void
pov_base::ColourModelInternal4::MetamericNormalize(CHANNEL_T*) [with CHANNEL_T =
double; MODEL_FROM_T = pov_base::ColourModelRGB]':
base/colour.cpp:149:119:   required from here
base/colour.cpp:54:86: error: dependent-name 'MODEL_FROM_T:: Whitepoint' is
parsed as a non-type, but instantiation yields a type
base/colour.cpp:54:86: note: say 'typename MODEL_FROM_T:: Whitepoint' if a type
is meant
*** Error code 1


Post a reply to this message

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