[Insight-users] InsightToolkit-3.2.0 build error
Dan Homerick
danhomerick at gmail.com
Wed May 23 18:41:30 EDT 2007
Building the ITK with gcc (ver 4.1.2) and cmake (ver 2.4-patch 6) in Ubuntu
(ver 7.04), I received the following error:
[ 1%] Built target mkg3states
[ 3%] Built target itkjpeg8
[ 4%] Built target itktiff
[ 5%] Built target itkopenjpeg
[ 6%] Built target itksys
[ 7%] Built target ITKMetaIO
[ 9%] Built target ITKNrrdIO
[ 9%] Built target ITKEXPAT
[ 9%] Building CXX object
Utilities/DICOMParser/CMakeFiles/ITKDICOMParser.dir/DICOMFile.o
/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.h:51: error:
expected unqualified-id before '&' token
/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.h:51: error:
expected ',' or '...' before '&' token
/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.h:51: error:
ISO C++ forbids declaration of 'parameter' with no type
/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.cxx:61:
error: expected unqualified-id before '&' token
/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.cxx:61:
error: expected ',' or '...' before '&' token
/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.cxx:61:
error: ISO C++ forbids declaration of 'parameter' with no type
/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.cxx: In
member function 'bool itkdicomparser::DICOMFile::Open(int)':
/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.cxx:66:
error: 'filename' was not declared in this scope
make[2]: ***
[Utilities/DICOMParser/CMakeFiles/ITKDICOMParser.dir/DICOMFile.o] Error 1
make[1]: *** [Utilities/DICOMParser/CMakeFiles/ITKDICOMParser.dir/all] Error
2
make: *** [all] Error 2
This was the latest release version of the ITK from Sourceforge. Any
suggestions?
Thanks for any help,
- Dan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20070523/36de3479/attachment.html
More information about the Insight-users
mailing list