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:<br><br>[ 1%] Built target mkg3states<br>[ 3%] Built target itkjpeg8<br>[ 4%] Built target itktiff<br>
[ 5%] Built target itkopenjpeg<br>[ 6%] Built target itksys<br>[ 7%] Built target ITKMetaIO<br>[ 9%] Built target ITKNrrdIO<br>[ 9%] Built target ITKEXPAT<br>[ 9%] Building CXX object Utilities/DICOMParser/CMakeFiles/ITKDICOMParser.dir/DICOMFile.o
<br>/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.h:51: error: expected unqualified-id before '&' token<br>/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.h:51: error: expected ',' or '...' before '&' token
<br>/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.h:51: error: ISO C++ forbids declaration of 'parameter' with no type<br>/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.cxx:61: error: expected unqualified-id before '&' token
<br>/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.cxx:61: error: expected ',' or '...' before '&' token<br>/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.cxx:61: error: ISO C++ forbids declaration of 'parameter' with no type
<br>/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.cxx: In member function 'bool itkdicomparser::DICOMFile::Open(int)':<br>/usr/local/InsightToolkit-3.2.0/Utilities/DICOMParser/DICOMFile.cxx:66: error: 'filename' was not declared in this scope
<br>make[2]: *** [Utilities/DICOMParser/CMakeFiles/ITKDICOMParser.dir/DICOMFile.o] Error 1<br>make[1]: *** [Utilities/DICOMParser/CMakeFiles/ITKDICOMParser.dir/all] Error 2<br>make: *** [all] Error 2<br><br>This was the latest release version of the ITK from Sourceforge. Any suggestions?
<br><br>Thanks for any help,<br> - Dan<br>