[Insight-users] CVS tarball compilation on linux
Michael Kuhn
michakuhn at gmx . ch
Tue, 15 Jul 2003 21:41:38 +0200 (MEST)
Hi,
I tried to build itk (I downloaded the tarball on
"http://www . itk . org/cgi-bin/viewcvs . cgi/?cvsroot=Insight" today) on my Linux system. I got the
following error message:
Building object file
itkGeodesicActiveContourShapePriorLevelSetImageFilterTest.o
...
/usr/local/Insight/Code/Algorithms/itkShapePriorSegmentationLevelSetFunction.txx
: In instantiation of
`itk::ShapePriorSegmentationLevelSetFunction<itk::Image<In
ternalPixelType, 2>,
itkGeodesicActiveContourShapePriorLevelSetImageFilterTest(i
nt,
char**)::InternalImageType>::ShapePriorGlobalDataStruct':
/usr/local/Insight/Code/Algorithms/itkShapePriorSegmentationLevelSetFunction.txx
:83: instantiated from `typename
itk::SegmentationLevelSetFunction<TImageType, TFeatureImageType>::PixelType
itk::ShapePriorSegmentationLevelSetFunction<TImag
eType, TFeatureImageType>::ComputeUpdate(typename
itk::SegmentationLevelSetFunct ion<TImageType,
TFeatureImageType>::NeighborhoodType&, void*, typename itk::Segm
entationLevelSetFunction<TImageType,
TFeatureImageType>::FloatOffsetType&) [with TImageType =
itk::Image<InternalPixelType, 2>, TFeatureImageType = itkGeodesicA
ctiveContourShapePriorLevelSetImageFilterTest(int, char**)::InternalImageType]'
/usr/local/Insight/Utilities/vxl/vnl/vnl_vector.h:120: instantiated from
here
/usr/local/Insight/Code/Common/itkLevelSetFunction.h:232: error: `struct
itk::LevelSetFunction<itk::Image<InternalPixelType, 2>
>::GlobalDataStruct'
is
protected
/usr/local/Insight/Code/Algorithms/itkShapePriorSegmentationLevelSetFunction.txx :83: error: within
this context
make[7]: *** [itkGeodesicActiveContourShapePriorLevelSetImageFilterTest.o]
Error 1
make[6]: *** [default_target] Error 2
make[5]: *** [default_target_Algorithms] Error 2
make[4]: *** [default_target] Error 2
make[3]: *** [default_target_Code] Error 2
make[2]: *** [default_target] Error 2
make[1]: *** [default_target_Testing] Error 2
make: *** [default_target] Error 2
The --version option of my gcc shows the following:
gcc (GCC) 3.3 20030226 (prerelease) (SuSE Linux)
Copyright (C) 2002 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Are there any problems known using this compiler? Or am I doing something
wrong?
Thanks,
Michael
--
+++ GMX - Mail, Messaging & more http://www . gmx . net +++
Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!