[Insight-users] compiling ITK with new Borland

dean.inglis at camris.ca dean.inglis at camris.ca
Wed Jan 11 16:46:47 EST 2006


Hi,

I have purchased a license to the new borland c++ builder 
product:

Borland Developer Studio
Borland C++ Builder 2006 - which I guess translates into bcb7?

which has a new linker / compiler but same make program.  
I have had very minor problems building vtk and would now 
like to have it go at ITK. Below are a list of errors starting 
with very simple fixes due to missing includes followed by more 
serious errors that are due to the use of templating and typedef 
in ITK that I am currently unfamiliar with and so am not sure how
to fix.  

Is anyone willing to spend some time getting
this working with me?  I know sacrifices were made at the
start to accommodate the borland compilers, but I think this 
is still doable wtih the present architecture.  If I am
wrong, please let me know and why.

best regards,
Dean 


metaEllipse.cxx - #include <mem.h> // for mem functions
metaImage.cxx - #include <mem.h> // for mem functions
metaObject.cxx - #include <mem.h> // for mem functions

DICOMBuffer.cxx - #include <mem.h> // for mem functions
DICOMAppHelper.cxx - #include <mem.h> // for mem functions

gdcmDicomDir.cxx - #include <mem.h> // for mem functions
gdcmDocEntrySet.cxx - #include <mem.h> // for mem functions
gdcmDocument.cxx - #include <mem.h>   // for mem functions
                   #include <ctype.h> // for isdigit
                   #include <stdlib.h>// for atoi
gdcmFile.cxx - #include <stdlib.h>// for atoi
gdcmJpeg.cxx - #include <mem.h> // for mem functions
gdcmPixelReadConvert.cxx - #include <mem.h> // for mem functions
gdcmRLEFramesInfo.cxx - #include <mem.h> // for mem functions
gdcmTS.cxx - #include <ctype.h> // for isdigit
gdcmValEntry.cxx -   #include <ctype.h> // for isdigit
                   #include <stdlib.h>// for atoi
gdcmException.cxx - #include <process.h>   // for exit
gdcmFileHelper.cxx - #include <mem.h> // for mem functions

error with vcl_complex.h: unrecognized class or namespace _STL

// Borland C++ 5.6 switches between Rogue Wave and stlport based on
// the _USE_OLD_RW_STL macro.  A bug in the compiler prevents the
// stlport definitions of the complex<T> overloads of standard math
// functions from being included in the std namespace by a
// "using namespace _STL" present in the included headers.
// We add them explicitly.  - Brad King

Now Borland 5.8 no longer uses stlport, or RogueWave, but Dinkumware's implementation,
so in CMAkeCache.txt add -D_USE_OLD_RW_STL to the C and Cxx compiler flags.

itkMersenneTwisterRandomVariateGenerator.h -   #include <stdlib.h>// for rand
itkVariableLengthVector.txx - #include <mem.h> // for mem functions
itkVector.txx - #include <math.h> // for sqrt

itkCumulativeGaussianCostFunction.cxx  - #include <math.h> // for sqrt, pow
itkCumulativeGaussianOptimizer.cxx - #include <math.h> // for pow, sqrt, fabs
itkOnePlusOneEvolutionaryOptimizer.cxx  - #include <math.h> // for pow
itkSPSAOptimizer.h  - #include <math.h> // for fabs
itkBrains2HeaderBase.cxx - #include <stdlib.h> // for atoi, atof
itkGE4ImageIO.cxx - #include <stdlib.h> // for atoi
itkMetaImageIO.cxx - #include <stdlib.h>   // for malloc, free
itkRegularExpressionSeriesFileNames.cxx - #include <stdlib.h> // for atof
itkTIFFImageIO.cxx  - #include <stdlib.h> // for atoi


itkAmoebaOptimizerTest.cxx - #include <math.h> // for fabs
itkConjugateGradientOptimizerTest.cxx - #include <math.h> // for fabs
itkCumulativeGaussianOptimizerTest.cxx - #include <math.h> // for fabs
itkLBFGSOptimizerTest.cxx - #include <math.h> // for fabs
itkLevenbergMarquardtOptimizerTest.cxx - #include <math.h> // for fabs, atof
                                       - #include <stdlib.h> // for atoi         


There is also a number of errors of the form:

'identifier' is not a member of 'struct' (E2316)
You are trying to reference 'identifier' as a member of 'struct', but it is not a member



Building CXX object Code/Common/CMakeFiles/ITKCommon.dir/itkTransformFactoryBase.obj
	bcc32 @MAKE0067.@@@
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
itkTransformFactoryBase.cxx:
Error E2316 itkMatrixOffsetTransformBase.txx 197: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformPoint(const Point<TScalarType,&__CPNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 210: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformVector(const Vector<TScalarType,&__CDNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 223: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformVector(const vnl_vector_fixed<TScalarType,&__CLNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 236: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformCovariantVector(const CovariantVector<TScalarType,&__CHNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 258: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::GetInverseMatrix() const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkRigid3DPerspectiveTransform.txx 122: 'Rigid3DPerspectiveTransform<TScalarType>::GetParameters() const' is not a member of 'Rigid3DPerspectiveTransform<TScalarType>'
Error E2316 itkRigid3DPerspectiveTransform.txx 184: 'Rigid3DPerspectiveTransform<TScalarType>::TransformPoint(const Point<TScalarType,&__CCJF> &) const' is not a member of 'Rigid3DPerspectiveTransform<TScalarType>'
Error E2316 itkRigid3DPerspectiveTransform.txx 229: 'Rigid3DPerspectiveTransform<TScalarType>::GetJacobian(const Point<TScalarType,&__CCJF> &) const' is not a member of 'Rigid3DPerspectiveTransform<TScalarType>'
Error E2316 itkScaleTransform.txx 128: 'ScaleTransform<TScalarType,NDimensions>::TransformPoint(const Point<TScalarType,&__CZKF> &) const' is not a member of 'ScaleTransform<TScalarType,NDimensions>'
Error E2316 itkScaleTransform.txx 143: 'ScaleTransform<TScalarType,NDimensions>::TransformVector(const Vector<TScalarType,&__CNKF> &) const' is not a member of 'ScaleTransform<TScalarType,NDimensions>'
Error E2316 itkScaleTransform.txx 158: 'ScaleTransform<TScalarType,NDimensions>::TransformVector(const vnl_vector_fixed<TScalarType,&__CVKF> &) const' is not a member of 'ScaleTransform<TScalarType,NDimensions>'
Error E2316 itkScaleTransform.txx 173: 'ScaleTransform<TScalarType,NDimensions>::TransformCovariantVector(const CovariantVector<TScalarType,&__CRKF> &) const' is not a member of 'ScaleTransform<TScalarType,NDimensions>'
Error E2316 itkScaleTransform.txx 189: 'ScaleTransform<TScalarType,NDimensions>::BackTransform(const Point<TScalarType,&__CBLF> &) const' is not a member of 'ScaleTransform<TScalarType,NDimensions>'
Error E2316 itkScaleTransform.txx 206: 'ScaleTransform<TScalarType,NDimensions>::BackTransform(const Vector<TScalarType,&__CPKF> &) const' is not a member of 'ScaleTransform<TScalarType,NDimensions>'
Error E2316 itkScaleTransform.txx 223: 'ScaleTransform<TScalarType,NDimensions>::BackTransform(const vnl_vector_fixed<TScalarType,&__CXKF> &) const' is not a member of 'ScaleTransform<TScalarType,NDimensions>'
Error E2316 itkScaleTransform.txx 238: 'ScaleTransform<TScalarType,NDimensions>::BackTransform(const CovariantVector<TScalarType,&__CTKF> &) const' is not a member of 'ScaleTransform<TScalarType,NDimensions>'
Error E2316 itkTranslationTransform.txx 128: 'TranslationTransform<TScalarType,NDimensions>::TransformPoint(const Point<TScalarType,&__CBSF> &) const' is not a member of 'TranslationTransform<TScalarType,NDimensions>'
Error E2316 itkTranslationTransform.txx 138: 'TranslationTransform<TScalarType,NDimensions>::TransformVector(const Vector<TScalarType,&__CPRF> &) const' is not a member of 'TranslationTransform<TScalarType,NDimensions>'
Error E2316 itkTranslationTransform.txx 148: 'TranslationTransform<TScalarType,NDimensions>::TransformVector(const vnl_vector_fixed<TScalarType,&__CXRF> &) const' is not a member of 'TranslationTransform<TScalarType,NDimensions>'
Error E2316 itkTranslationTransform.txx 158: 'TranslationTransform<TScalarType,NDimensions>::TransformCovariantVector(const CovariantVector<TScalarType,&__CTRF> &) const' is not a member of 'TranslationTransform<TScalarType,NDimensions>'
Error E2316 itkTranslationTransform.txx 168: 'TranslationTransform<TScalarType,NDimensions>::BackTransform(const Point<TScalarType,&__CDSF> &) const' is not a member of 'TranslationTransform<TScalarType,NDimensions>'
Error E2316 itkTranslationTransform.txx 180: 'TranslationTransform<TScalarType,NDimensions>::BackTransform(const Vector<TScalarType,&__CRRF> &) const' is not a member of 'TranslationTransform<TScalarType,NDimensions>'
Error E2316 itkTranslationTransform.txx 192: 'TranslationTransform<TScalarType,NDimensions>::BackTransform(const vnl_vector_fixed<TScalarType,&__CZRF> &) const' is not a member of 'TranslationTransform<TScalarType,NDimensions>'
Error E2316 itkTranslationTransform.txx 202: 'TranslationTransform<TScalarType,NDimensions>::BackTransform(const CovariantVector<TScalarType,&__CVRF> &) const' is not a member of 'TranslationTransform<TScalarType,NDimensions>'
Error E2113 itkMatrixOffsetTransformBase.txx 196: Virtual function 'MatrixOffsetTransformBase<double,2,2>::TransformPoint(const Point<double,2> &) const' conflicts with base class 'Transform<double,2,2>' in function TransformFactory<AffineTransform<double,2> >::RegisterTransform()
Error E2228 itkMatrixOffsetTransformBase.txx 196: Too many error or warning messages in function TransformFactory<AffineTransform<double,2> >::RegisterTransform()
*** 26 errors in Compile ***
Building CXX object Code/Common/CMakeFiles/ITKCommon.dir/itkOctreeNode.obj
	bcc32 @MAKE0074.@@@
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
itkOctreeNode.cxx:
Error E2316 itkImageRegion.txx 177: 'ImageRegion<VImageDimension>::Slice(const unsigned long) const' is not a member of 'ImageRegion<VImageDimension>'
*** 1 errors in Compile ***

Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\IO\itkNiftiImageIO.cxx:
Error E2316 itkImageRegion.txx 177: 'ImageRegion<VImageDimension>::Slice(const unsigned long) const' is not a member of 'ImageRegion<VImageDimension>'
*** 1 errors in Compile ***
Building CXX object Code/IO/CMakeFiles/ITKIO.dir/itkAnalyzeImageIO.obj
	bcc32 @MAKE0002.@@@
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\IO\itkAnalyzeImageIO.cxx:
Error E2316 itkImageRegion.txx 177: 'ImageRegion<VImageDimension>::Slice(const unsigned long) const' is not a member of 'ImageRegion<VImageDimension>'
*** 1 errors in Compile ***
Building CXX object Code/IO/CMakeFiles/ITKIO.dir/itkBrains2HeaderBase.obj
	bcc32 @MAKE0009.@@@
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\IO\itkBrains2HeaderBase.cxx:
Building CXX object Code/IO/CMakeFiles/ITKIO.dir/itkBrains2MaskImageIO.obj
	bcc32 @MAKE0013.@@@
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\IO\itkBrains2MaskImageIO.cxx:
Error E2316 itkImageRegion.txx 177: 'ImageRegion<VImageDimension>::Slice(const unsigned long) const' is not a member of 'ImageRegion<VImageDimension>'
*** 1 errors in Compile ***
Building CXX object Code/IO/CMakeFiles/ITKIO.dir/itkBrains2MaskImageIOFactory.obj
	bcc32 @MAKE0014.@@@
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\IO\itkBrains2MaskImageIOFactory.cxx:
Error E2316 itkImageRegion.txx 177: 'ImageRegion<VImageDimension>::Slice(const unsigned long) const' is not a member of 'ImageRegion<VImageDimension>'
*** 1 errors in Compile ***
Building CXX object Code/IO/CMakeFiles/ITKIO.dir/itkGE4ImageIO.obj
	bcc32 @MAKE0022.@@@
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\IO\itkGE4ImageIO.cxx:
Building CXX object Code/IO/CMakeFiles/ITKIO.dir/itkMetaImageIO.obj
	bcc32 @MAKE0040.@@@
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\IO\itkMetaImageIO.cxx:
Error E2316 itkImageRegion.txx 177: 'ImageRegion<VImageDimension>::Slice(const unsigned long) const' is not a member of 'ImageRegion<VImageDimension>'
*** 1 errors in Compile ***
Building CXX object Code/IO/CMakeFiles/ITKIO.dir/itkPolygonGroupSpatialObjectXMLFile.obj
	bcc32 @MAKE0047.@@@
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\IO\itkPolygonGroupSpatialObjectXMLFile.cxx:
Error E2316 itkMatrixOffsetTransformBase.txx 197: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformPoint(const Point<TScalarType,&__CPNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 210: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformVector(const Vector<TScalarType,&__CDNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 223: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformVector(const vnl_vector_fixed<TScalarType,&__CLNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 236: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformCovariantVector(const CovariantVector<TScalarType,&__CHNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 258: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::GetInverseMatrix() const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkImageRegion.txx 177: 'ImageRegion<VImageDimension>::Slice(const unsigned long) const' is not a member of 'ImageRegion<VImageDimension>'
Error E2113 itkMatrixOffsetTransformBase.txx 196: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformPoint(const Point<double,3> &) const' conflicts with base class 'Transform<double,3,3>'
Error E2113 itkMatrixOffsetTransformBase.txx 209: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformVector(const Vector<double,3> &) const' conflicts with base class 'Transform<double,3,3>'
Error E2113 itkMatrixOffsetTransformBase.txx 222: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformVector(const vnl_vector_fixed<double,3> &) const' conflicts with base class 'Transform<double,3,3>'
Error E2113 itkMatrixOffsetTransformBase.txx 235: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformCovariantVector(const CovariantVector<double,3> &) const' conflicts with base class 'Transform<double,3,3>'
Error E2029 itkAffineTransform.h 108: 'MatrixOffsetTransformBase<double,3,3>' must be a previously defined class or struct
Error E2029 itkScalableAffineTransform.h 41: 'AffineTransform<double,3>' must be a previously defined class or struct
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkGroupSpatialObject.h 39: 'SpatialObject<3>' must be a previously defined class or struct
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkPolygonGroupSpatialObject.h 55: 'GroupSpatialObject<3>' must be a previously defined class or struct
Error E2404 c:\Builder\Sources\Insight\Code\SpatialObject\itkPolygonGroupSpatialObject.h 63: Dependent type qualifier 'GroupSpatialObject<3>' has no member type named 'PointType'
Error E2404 c:\Builder\Sources\Insight\Code\SpatialObject\itkPolygonGroupSpatialObject.h 64: Dependent type qualifier 'GroupSpatialObject<3>' has no member type named 'BoundingBoxType'
Error E2404 c:\Builder\Sources\Insight\Code\SpatialObject\itkPolygonGroupSpatialObject.h 65: Dependent type qualifier 'GroupSpatialObject<3>' has no member type named 'ChildrenListType'
Error E2404 c:\Builder\Sources\Insight\Code\SpatialObject\itkPolygonGroupSpatialObject.txx 122: Dependent type qualifier 'GroupSpatialObject<3>' has no member type named 'PointType'
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkPointBasedSpatialObject.h 37: 'SpatialObject<3>' must be a previously defined class or struct
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkBlobSpatialObject.h 43: 'PointBasedSpatialObject<3>' must be a previously defined class or struct
Error E2404 c:\Builder\Sources\Insight\Code\SpatialObject\itkBlobSpatialObject.h 59: Dependent type qualifier 'PointBasedSpatialObject<3>' has no member type named 'BoundingBoxType'
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkPolygonSpatialObject.h 25: 'BlobSpatialObject<3>' must be a previously defined class or struct
Error E2315 itkSmartPointer.h 124: 'UnRegister' is not a member of 'PGroupSpatialObjectType', because the type is not yet defined in function SmartPointer<PGroupSpatialObjectType>::operator =(PGroupSpatialObjectType *)
Error E2315 itkSmartPointer.h 124: 'UnRegister' is not a member of 'PolygonSpatialObject<3>', because the type is not yet defined in function SmartPointer<PolygonSpatialObject<3> >::operator =(PolygonSpatialObject<3> *)
Error E2315 c:\Builder\Sources\Insight\Code\IO\itkPolygonGroupSpatialObjectXMLFile.cxx 64: 'AddSpatialObject' is not a member of 'PGroupSpatialObjectType', because the type is not yet defined in function PolygonGroupSpatialObjectXMLFileReader::StartElement(const char *,const char * *)
Error E2228 c:\Builder\Sources\Insight\Code\IO\itkPolygonGroupSpatialObjectXMLFile.cxx 64: Too many error or warning messages in function PolygonGroupSpatialObjectXMLFileReader::StartElement(const char *,const char * *)
*** 26 errors in Compile ***

Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx:
Error E2316 itkMatrixOffsetTransformBase.txx 197: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformPoint(const Point<TScalarType,&__CPNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 210: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformVector(const Vector<TScalarType,&__CDNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 223: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformVector(const vnl_vector_fixed<TScalarType,&__CLNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 236: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformCovariantVector(const CovariantVector<TScalarType,&__CHNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 258: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::GetInverseMatrix() const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkImageRegion.txx 177: 'ImageRegion<VImageDimension>::Slice(const unsigned long) const' is not a member of 'ImageRegion<VImageDimension>'
Error E2113 itkMatrixOffsetTransformBase.txx 196: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformPoint(const Point<double,3> &) const' conflicts with base class 'Transform<double,3,3>'
Error E2113 itkMatrixOffsetTransformBase.txx 209: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformVector(const Vector<double,3> &) const' conflicts with base class 'Transform<double,3,3>'
Error E2113 itkMatrixOffsetTransformBase.txx 222: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformVector(const vnl_vector_fixed<double,3> &) const' conflicts with base class 'Transform<double,3,3>'
Error E2113 itkMatrixOffsetTransformBase.txx 235: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformCovariantVector(const CovariantVector<double,3> &) const' conflicts with base class 'Transform<double,3,3>'
Error E2029 itkAffineTransform.h 108: 'MatrixOffsetTransformBase<double,3,3>' must be a previously defined class or struct
Error E2029 itkScalableAffineTransform.h 41: 'AffineTransform<double,3>' must be a previously defined class or struct
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.h 34: 'SpatialObject<3>' must be a previously defined class or struct
Error E2316 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.h 53: 'UnRegister' is not a member of 'CylinderSpatialObject' in function CylinderSpatialObject::New()
Error E2285 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.h 53: Could not find a match for 'SmartPointer<LightObject>::operator =(CylinderSpatialObject *)' in function CylinderSpatialObject::CreateAnother() const
Error E2316 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.h 58: 'Modified' is not a member of 'CylinderSpatialObject' in function CylinderSpatialObject::SetRadius(const double)
Error E2316 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.h 62: 'Modified' is not a member of 'CylinderSpatialObject' in function CylinderSpatialObject::SetHeight(const double)
Error E2316 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx 25: 'SetTypeName' is not a member of 'CylinderSpatialObject' in function CylinderSpatialObject::CylinderSpatialObject()
Error E2316 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx 26: 'SetDimension' is not a member of 'CylinderSpatialObject' in function CylinderSpatialObject::CylinderSpatialObject()
Error E2316 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx 43: 'GetIndexToWorldTransform' is not a member of 'CylinderSpatialObject' in function CylinderSpatialObject::IsInside(const Point<double,3> &) const
Error E2316 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx 43: 'GetInternalInverseTransform' is not a member of 'CylinderSpatialObject' in function CylinderSpatialObject::IsInside(const Point<double,3> &) const
Error E2316 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx 48: 'GetInternalInverseTransform' is not a member of 'CylinderSpatialObject' in function CylinderSpatialObject::IsInside(const Point<double,3> &) const
Error E2285 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx 48: Could not find a match for 'Point<double,3>::Point(const Point<double,3>&)' in function CylinderSpatialObject::IsInside(const Point<double,3> &) const
Error E2316 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx 52: 'GetBounds' is not a member of 'CylinderSpatialObject' in function CylinderSpatialObject::IsInside(const Point<double,3> &) const
Warning W8057 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx 99: Parameter 'point' is never used in function CylinderSpatialObject::IsInside(const Point<double,3> &) const
Error E2283 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx 124: Use . or -> to call 'SpatialObject<3>::IsInside(const Point<double,3> &,unsigned int,char *) const' in function CylinderSpatialObject::IsInside(const Point<double,3> &,unsigned int,char *) const
Error E2228 c:\Builder\Sources\Insight\Code\SpatialObject\itkCylinderSpatialObject.cxx 124: Too many error or warning messages in function CylinderSpatialObject::IsInside(const Point<double,3> &,unsigned int,char *) const
*** 26 errors in Compile ***
Building CXX object Code/SpatialObject/CMakeFiles/ITKSpatialObject.dir/itkSpatialObjectFactoryBase.obj
	bcc32 @MAKE0001.@@@
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\SpatialObject\itkSpatialObjectFactoryBase.cxx:
Error E2316 itkMatrixOffsetTransformBase.txx 197: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformPoint(const Point<TScalarType,&__CPNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 210: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformVector(const Vector<TScalarType,&__CDNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 223: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformVector(const vnl_vector_fixed<TScalarType,&__CLNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 236: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::TransformCovariantVector(const CovariantVector<TScalarType,&__CHNE> &) const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkMatrixOffsetTransformBase.txx 258: 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>::GetInverseMatrix() const' is not a member of 'MatrixOffsetTransformBase<TScalarType,NInputDimensions,NOutputDimensions>'
Error E2316 itkImageRegion.txx 177: 'ImageRegion<VImageDimension>::Slice(const unsigned long) const' is not a member of 'ImageRegion<VImageDimension>'
Error E2113 itkMatrixOffsetTransformBase.txx 196: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformPoint(const Point<double,3> &) const' conflicts with base class 'Transform<double,3,3>' in function SpatialObjectFactory<EllipseSpatialObject<3> >::RegisterSpatialObject()
Error E2113 itkMatrixOffsetTransformBase.txx 209: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformVector(const Vector<double,3> &) const' conflicts with base class 'Transform<double,3,3>' in function SpatialObjectFactory<EllipseSpatialObject<3> >::RegisterSpatialObject()
Error E2113 itkMatrixOffsetTransformBase.txx 222: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformVector(const vnl_vector_fixed<double,3> &) const' conflicts with base class 'Transform<double,3,3>' in function SpatialObjectFactory<EllipseSpatialObject<3> >::RegisterSpatialObject()
Error E2113 itkMatrixOffsetTransformBase.txx 235: Virtual function 'MatrixOffsetTransformBase<double,3,3>::TransformCovariantVector(const CovariantVector<double,3> &) const' conflicts with base class 'Transform<double,3,3>' in function SpatialObjectFactory<EllipseSpatialObject<3> >::RegisterSpatialObject()
Error E2029 itkAffineTransform.h 108: 'MatrixOffsetTransformBase<double,3,3>' must be a previously defined class or struct in function SpatialObjectFactory<EllipseSpatialObject<3> >::RegisterSpatialObject()
Error E2029 itkScalableAffineTransform.h 41: 'AffineTransform<double,3>' must be a previously defined class or struct in function SpatialObjectFactory<EllipseSpatialObject<3> >::RegisterSpatialObject()
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkEllipseSpatialObject.h 34: 'SpatialObject<3>' must be a previously defined class or struct in function SpatialObjectFactory<EllipseSpatialObject<3> >::RegisterSpatialObject()
Error E2315 c:\Builder\Sources\Insight\Code\SpatialObject\itkSpatialObjectFactory.h 40: 'GetSpatialObjectTypeAsString' is not a member of 'EllipseSpatialObject<3>', because the type is not yet defined in function SpatialObjectFactory<EllipseSpatialObject<3> >::RegisterSpatialObject()
Error E2315 c:\Builder\Sources\Insight\Code\SpatialObject\itkSpatialObjectFactory.h 41: 'GetSpatialObjectTypeAsString' is not a member of 'EllipseSpatialObject<3>', because the type is not yet defined in function SpatialObjectFactory<EllipseSpatialObject<3> >::RegisterSpatialObject()
Error E2315 c:\Builder\Sources\Insight\Code\SpatialObject\itkSpatialObjectFactory.h 42: 'GetSpatialObjectTypeAsString' is not a member of 'EllipseSpatialObject<3>', because the type is not yet defined in function SpatialObjectFactory<EllipseSpatialObject<3> >::RegisterSpatialObject()
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkGroupSpatialObject.h 39: 'SpatialObject<3>' must be a previously defined class or struct in function SpatialObjectFactory<GroupSpatialObject<3> >::RegisterSpatialObject()
Error E2315 c:\Builder\Sources\Insight\Code\SpatialObject\itkSpatialObjectFactory.h 40: 'GetSpatialObjectTypeAsString' is not a member of 'GroupSpatialObject<3>', because the type is not yet defined in function SpatialObjectFactory<GroupSpatialObject<3> >::RegisterSpatialObject()
Error E2315 c:\Builder\Sources\Insight\Code\SpatialObject\itkSpatialObjectFactory.h 41: 'GetSpatialObjectTypeAsString' is not a member of 'GroupSpatialObject<3>', because the type is not yet defined in function SpatialObjectFactory<GroupSpatialObject<3> >::RegisterSpatialObject()
Error E2315 c:\Builder\Sources\Insight\Code\SpatialObject\itkSpatialObjectFactory.h 42: 'GetSpatialObjectTypeAsString' is not a member of 'GroupSpatialObject<3>', because the type is not yet defined in function SpatialObjectFactory<GroupSpatialObject<3> >::RegisterSpatialObject()
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkPointBasedSpatialObject.h 37: 'SpatialObject<3>' must be a previously defined class or struct in function SpatialObjectFactory<DTITubeSpatialObject<3> >::RegisterSpatialObject()
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkTubeSpatialObject.h 43: 'PointBasedSpatialObject<3>' must be a previously defined class or struct in function SpatialObjectFactory<DTITubeSpatialObject<3> >::RegisterSpatialObject()
Error E2404 c:\Builder\Sources\Insight\Code\SpatialObject\itkTubeSpatialObject.h 64: Dependent type qualifier 'PointBasedSpatialObject<3>' has no member type named 'BoundingBoxType' in function SpatialObjectFactory<DTITubeSpatialObject<3> >::RegisterSpatialObject()
Error E2029 c:\Builder\Sources\Insight\Code\SpatialObject\itkDTITubeSpatialObject.h 41: 'TubeSpatialObject<3,DTITubeSpatialObjectPoint<3> >' must be a previously defined class or struct in function SpatialObjectFactory<DTITubeSpatialObject<3> >::RegisterSpatialObject()
Error E2315 c:\Builder\Sources\Insight\Code\SpatialObject\itkSpatialObjectFactory.h 40: 'GetSpatialObjectTypeAsString' is not a member of 'DTITubeSpatialObject<3>', because the type is not yet defined in function SpatialObjectFactory<DTITubeSpatialObject<3> >::RegisterSpatialObject()
Error E2228 c:\Builder\Sources\Insight\Code\SpatialObject\itkSpatialObjectFactory.h 40: Too many error or warning messages in function SpatialObjectFactory<DTITubeSpatialObject<3> >::RegisterSpatialObject()
*** 26 errors in Compile ***
 
Borland C++ 5.81 for Win32 Copyright (c) 1993, 2005 Borland
c:\Builder\Sources\Insight\Code\Numerics\FEM\itkFEMElementBase.cxx:
Error E2091 c:\Builder\Sources\Insight\Code\Numerics\FEM\itkFEMObjectFactory.h 73: Functions cannot return arrays or functions
Error E2089 c:\Builder\Sources\Insight\Code\Numerics\FEM\itkFEMObjectFactory.h 73: Identifier 'Pointer' cannot have a type qualifier
Error E2451 c:\Builder\Sources\Insight\Code\Numerics\FEM\itkFEMObjectFactory.h 83: Undefined symbol 'COF'
Error E2293 c:\Builder\Sources\Insight\Code\Numerics\FEM\itkFEMObjectFactory.h 101: ) expected
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 139: Multiple declaration for '_Ctraits<long double>::_Cosh(long double,long double)'
Error E2344 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 46: Earlier declaration of '_Ctraits<long double>::_Cosh(long double,long double)'
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 144: Multiple declaration for '_Ctraits<long double>::_Exp(long double *,long double,short)'
Error E2344 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 51: Earlier declaration of '_Ctraits<long double>::_Exp(long double *,long double,short)'
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 149: Multiple declaration for '_Ctraits<long double>::_Infv(long double)'
Error E2344 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 59: Earlier declaration of '_Ctraits<long double>::_Infv(long double)'
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 154: Multiple declaration for '_Ctraits<long double>::_Isinf(long double)'
Error E2344 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 64: Earlier declaration of '_Ctraits<long double>::_Isinf(long double)'
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 159: Multiple declaration for '_Ctraits<long double>::_Isnan(long double)'
Error E2344 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 70: Earlier declaration of '_Ctraits<long double>::_Isnan(long double)'
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 164: Multiple declaration for '_Ctraits<long double>::_Nanv(long double)'
Error E2344 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 76: Earlier declaration of '_Ctraits<long double>::_Nanv(long double)'
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 169: Multiple declaration for '_Ctraits<long double>::_Sinh(long double,long double)'
Error E2344 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 81: Earlier declaration of '_Ctraits<long double>::_Sinh(long double,long double)'
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 174: Multiple declaration for '_Ctraits<long double>::atan2(long double,long double)'
Error E2344 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 86: Earlier declaration of '_Ctraits<long double>::atan2(long double,long double)'
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 179: Multiple declaration for '_Ctraits<long double>::cos(long double)'
Error E2344 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 91: Earlier declaration of '_Ctraits<long double>::cos(long double)'
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 184: Multiple declaration for '_Ctraits<long double>::exp(long double)'
Error E2344 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 96: Earlier declaration of '_Ctraits<long double>::exp(long double)'
Error E2238 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 189: Multiple declaration for '_Ctraits<long double>::ldexp(long double,int)'
Error E2228 C:\Program Files\Borland\BDS\4.0\Include\dinkumware\complex 189: Too many error or warning messages
*** 26 errors in Compile ***

Similar errors happen with


itkFEMElement2DC0LinearLine.cxx
itkFEMElement2DC0LinearLineStress.cxx
itkFEMElement2DC1Beam.cxx
itkFEMElement2DC0LinearQuadrilateral.cxx
itkFEMElement2DC0LinearQuadrilateralMembrane.cxx
itkFEMElement2DC0LinearQuadrilateralStress.cxx
itkFEMElement2DC0LinearQuadrilateralStrain.cxx
itkFEMElement2DC0LinearTriangular.cxx
itkFEMElement2DC0LinearTriangularMembrane.cxx
itkFEMElement2DC0LinearTriangularStress.cxx
itkFEMElement2DC0LinearTriangularStrain.cxx
itkFEMElement2DC0QuadraticTriangular.cxx
itkFEMElement2DC0QuadraticTriangularStress.cxx
itkFEMElement2DC0QuadraticTriangularStrain.cxx
itkFEMElement3DC0LinearHexahedron.cxx
itkFEMElement3DC0LinearHexahedronMembrane.cxx
itkFEMElement3DC0LinearHexahedronStrain.cxx
itkFEMElement3DC0LinearTetrahedron.cxx
itkFEMElement3DC0LinearTetrahedronMembrane.cxx
itkFEMElement3DC0LinearTetrahedronStrain.cxx
itkFEMMaterialBase.cxx
itkFEMMaterialLinearElasticity.cxx
itkFEMLoadBase.cxx
itkFEMLoadBC.cxx
itkFEMLoadBCMFC.cxx
itkFEMLoadNode.cxx
itkFEMLoadElementBase.cxx
itkFEMLoadGrav.cxx
itkFEMLoadEdge.cxx
itkFEMLoadPoint.cxx
itkFEMLoadLandmark.cxx
itkFEMLoadImplementationsRegister.cxx
itkFEMLoadImplementationGenericBodyLoad.cxx
itkFEMLoadImplementationGenericLandmarkLoad.cxx
itkFEMSolver.cxx
itkFEMSolverHyperbolic.cxx
itkFEMSolverCrankNicolson.cxx
itkFEMGenerateMesh.cxx
itkFEMLightObject.cxx




More information about the Insight-users mailing list