[Insight-users] installation of CMAKE 2.0 - ITK 2.2.0 - VTK 4.4
- on a solaris 10/11 X86 box
Luis Ibanez
luis.ibanez at kitware.com
Mon Oct 24 23:31:50 EDT 2005
Hi Alexander,
This usually happens because the "tar" application in Sun is broken.
They use a broken way of computing the checksums and the result is
that the expansion of ITK directories is not performed completely.
You may want to download ITK using CVS, as explained in the Tutorials
and in the ITK Software Guide.
Please let us know if you continue experiencing any problems.
Regards,
Luis
-------------------------------------------------------------
alexandre gouaillard - Sun Microsystems - Beijing China wrote:
> 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
>
>
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
>
>
More information about the Insight-users
mailing list