[Insight-users] installation of CMAKE 2.0 - ITK 2.2.0 - VTK 4.4 - on a solaris 10/11 X86 box

alexandre gouaillard - Sun Microsystems - Beijing China Alexandre.Gouaillard at Sun.COM
Mon Oct 24 23:20:41 EDT 2005


Hi everyone,

I m building up a VTK/ITK/... under solaris x86 v10 and v11, using
gcc/g++
3.4.

CMAKE 2.0 bootstrapping and VTK 4.4 compiling both went fine [cheers].
But
when compiling ITK 2.2.0, I have 2 kinds of errors. first some test
files
are reported as missing (see messages below) by ccmake. Then i'm getting
a
strange error message compiling the gdcm. I'm speaking about the gdcm
version included in the tar ball, without any modification (see teh
second
message below). My understanding is that the compiler bump into the huge
ENUM field in gdcmFile.h
anyone experienced that before and/or, more valuably, has any idea on
how
to deal with those? [of course for the time being, I set the testing
option to OFF in ccmake to compile, but this is not really satisfactory,
right ... ?].

alex.

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
CMake Error: can not find file
 /home/ag195372/Documents/ITK/Testing/Code/Numerics/Statistics/itkExpectationMaximizationMixtureModelEstimatorTest.cxx
Tried .c .C .c++ .cc .cpp .cxx .m .M .mm .h .h++ .hm .hpp .hxx .in .txx
CMake Error: can not find file
 /home/ag195372/Documents/ITK/Testing/Code/Numerics/Statistics/itkGoodnessOfFitMixtureModelCostFunctionTest.cxx
Tried .c .C .c++ .cc .cpp .cxx .m .M .mm .h .h++ .hm .hpp .hxx .in .txx
CMake Error: can not find file
 /home/ag195372/Documents/ITK/Testing/Code/Numerics/Statistics/itkGreyLevelCooccurrenceMatrixTextureCoefficientsCalculatorTest.cxx
Tried .c .C .c++ .cc .cpp .cxx .m .M .mm .h .h++ .hm .hpp .hxx .in .txx
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>

>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
Building object file gdcmDicomDir.o...
In file included from
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmDicomDir.cxx:34:
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:39: error:
expected identifier before numeric constant
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:39: error:
expected `}' before numeric constant
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:39: error:
expected unqualified-id before numeric constant
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:39: error:
expected `,' or `;' before numeric constant
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:96: error:
expected class-name before '{' token
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:107: error:
`ModalityType' does not name a type
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:154: error:
ISO
C++ forbids declaration of `RLEFramesInfo' with no type
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:154: error:
expected `;' before '*' token
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:156: error:
expected `;' before "JPEGFragmentsInfo"
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:156: error:
ISO
C++ forbids declaration of `JPEGFragmentsInfo' with no type
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:156: error:
expected `;' before '*' token
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:159: error:
expected `;' before "void"
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:167: error:
`FileType' has not been declared
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:167: error:
ISO
C++ forbids declaration of `filetype' with no type
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:174: error:
ISO
C++ forbids declaration of `RLEFramesInfo' with no type
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:174: error:
expected `;' before '*' token
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:176: error:
ISO
C++ forbids declaration of `JPEGFragmentsInfo' with no type
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:176: error:
expected `;' before '*' token
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h: In member
function `void File::ClearAnonymizeList()':
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:162: error:
`AnonymizeList' undeclared (first use this function)
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:162: error:
(Each undeclared identifier is reported only once for each function it
appears in.)
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h: At global
scope:
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:197: error:
expected declaration before '}' token
In file included from
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmDicomDir.cxx:34:
/home/ag195372/Documents/ITK/Utilities/gdcm/src/gdcmFile.h:19:1:
unterminated #ifndef
*** Error code 1
>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>



More information about the Insight-users mailing list