a compile error
Closed this issue · 1 comments
$ scons lib
...
Compiling external/GPD-pvr/build/linux2/g++/m64/release/GPD_Util.o
Compiling external/GPD-pvr/build/linux2/g++/m64/release/GPD_Vertex.o
Running ar external/GPD-pvr/install/linux2/g++/m64/release/libGPD-pvr.a
ranlib external/GPD-pvr/install/linux2/g++/m64/release/libGPD-pvr.a
Install file: "external/GPD-pvr/install/linux2/g++/m64/release/libGPD-pvr.a" as "external/libs/linux2/g++/m64/release/libGPD-pvr.a"
In file included from /usr/local/include/FieldMapping.h:54:0,
from install/linux2/g++/m64/release/include/pvr/Volumes/VoxelVolume.h:43,
from src/Volumes/VoxelVolume.cpp:32:
install/linux2/g++/m64/release/include/pvr/CubicInterp.h: In member function 'bool Field3D::TriCubicFieldInterp<Data_T>::matchRTTI(const char_)':
install/linux2/g++/m64/release/include/pvr/CubicInterp.h:106:3: error: there are no arguments to 'staticClassType' that depend on a template parameter, so a declaration of 'staticClassType' must be available [-fpermissive]
DEFINE_FIELD_RTTI_CONCRETE_CLASS;
^
install/linux2/g++/m64/release/include/pvr/CubicInterp.h:106:3: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
install/linux2/g++/m64/release/include/pvr/GaussianInterp.h: In member function 'bool Field3D::GaussianFieldInterp<Data_T>::matchRTTI(const char_)':
install/linux2/g++/m64/release/include/pvr/GaussianInterp.h:69:3: error: there are no arguments to 'staticClassType' that depend on a template parameter, so a declaration of 'staticClassType' must be available [-fpermissive]
DEFINE_FIELD_RTTI_CONCRETE_CLASS;
^
install/linux2/g++/m64/release/include/pvr/MitchellInterp.h: In member function 'bool Field3D::MitchellFieldInterp<Data_T>::matchRTTI(const char_)':
install/linux2/g++/m64/release/include/pvr/MitchellInterp.h:67:3: error: there are no arguments to 'staticClassType' that depend on a template parameter, so a declaration of 'staticClassType' must be available [-fpermissive]
DEFINE_FIELD_RTTI_CONCRETE_CLASS;
^
scons: *_* [build/linux2/g++/m64/release/Volumes/VoxelVolume.os] Error 1
scons: building terminated because of errors.