[Insight-users] Compilation problem 3.4.0 at DICOMFile.cxx
mark at invivonmr.uu.nl
mark at invivonmr.uu.nl
Fri Nov 16 16:44:28 EST 2007
Hi,
I'm trying to compile ITK on a ubuntu 7.10 system. I've compiled the
toolkit many times and never had these trouble.
The compiler stalls at:
[ 12%] Building CXX object
Utilities/DICOMParser/CMakeFiles/ITKDICOMParser.dir/DICOMFile.o
/home/mark/TK/src/InsightToolkit-3.4.0/Utilities/DICOMParser/DICOMFile.h:51:
error: expected unqualified-id before & token
/home/mark/TK/src/InsightToolkit-3.4.0/Utilities/DICOMParser/DICOMFile.h:51:
error: expected , or ... before & token
/home/mark/TK/src/InsightToolkit-3.4.0/Utilities/DICOMParser/DICOMFile.h:51:
error: ISO C++ forbids declaration of parameter with no type
/home/mark/TK/src/InsightToolkit-3.4.0/Utilities/DICOMParser/DICOMFile.cxx:61:
error: expected unqualified-id before & token
/home/mark/TK/src/InsightToolkit-3.4.0/Utilities/DICOMParser/DICOMFile.cxx:61:
error: expected , or ... before & token
/home/mark/TK/src/InsightToolkit-3.4.0/Utilities/DICOMParser/DICOMFile.cxx:61:
error: ISO C++ forbids declaration of parameter with no type
/home/mark/TK/src/InsightToolkit-3.4.0/Utilities/DICOMParser/DICOMFile.cxx:
In member function bool itkdicomparser::DICOMFile::Open(int):
/home/mark/TK/src/InsightToolkit-3.4.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
Any suggestions?
Thanks!
Mark
More information about the Insight-users
mailing list