Fw: [Insight-users] compiling error for itk2.0.1

Luke Hua khua1 at jhu.edu
Fri Jun 10 13:06:21 EDT 2005


Forget to mention that I was compiling under Visual Studion .net.

----- Original Message ----- 
From: Luke Hua 
To: insight-users at itk.org 
Sent: Friday, June 10, 2005 11:52 AM
Subject: [Insight-users] compiling error for itk2.0.1


When I tried to compile itk2.0.1 got following error.  Does any body know why?

Compiling...
gdcmVR.cxx
C:\Libraries\itk201\Utilities\itksys\ios\sstream(62) : error C2039: 'ostream' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(62) : error C2873: 'ostream' : symbol cannot be used in a using-declaration
C:\Libraries\itk201\Utilities\itksys\ios\sstream(63) : error C2039: 'istream' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(63) : error C2873: 'istream' : symbol cannot be used in a using-declaration
C:\Libraries\itk201\Utilities\itksys\ios\sstream(64) : error C2039: 'istrstream' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(64) : error C2873: 'istrstream' : symbol cannot be used in a using-declaration
C:\Libraries\itk201\Utilities\itksys\ios\sstream(65) : error C2039: 'ostrstream' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(65) : error C2873: 'ostrstream' : symbol cannot be used in a using-declaration
C:\Libraries\itk201\Utilities\itksys\ios\sstream(66) : error C2039: 'ios' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(66) : error C2873: 'ios' : symbol cannot be used in a using-declaration
C:\Libraries\itk201\Utilities\itksys\ios\sstream(67) : error C2039: 'endl' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(67) : error C2873: 'endl' : symbol cannot be used in a using-declaration
C:\Libraries\itk201\Utilities\itksys\ios\sstream(68) : error C2039: 'ends' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(68) : error C2873: 'ends' : symbol cannot be used in a using-declaration
C:\Libraries\itk201\Utilities\itksys\ios\sstream(69) : error C2039: 'flush' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(69) : error C2873: 'flush' : symbol cannot be used in a using-declaration
C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2143: syntax error : missing ')' before '&'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2143: syntax error : missing ';' before '&'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2460: 'itksys_ios::ostringstream_cleanup::ostrstream' : uses 'itksys_ios::ostringstream_cleanup', which is being defined
        C:\Libraries\itk201\Utilities\itksys\ios\sstream(72) : see declaration of 'itksys_ios::ostringstream_cleanup'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2059: syntax error : ')'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2065: 'ostr' : undeclared identifier
C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C3861: 'm_OStrStream': identifier not found, even with argument-dependent lookup
C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2531: 'itksys_ios::ostringstream_cleanup::ostr' : reference to a bit field illegal
C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2501: 'itksys_ios::ostringstream_cleanup::ostr' : missing storage-class or type specifiers
C:\Libraries\itk201\Utilities\itksys\ios\sstream(75) : error C2588: '::~ostringstream_cleanup' : illegal global destructor
C:\Libraries\itk201\Utilities\itksys\ios\sstream(75) : error C2228: left of '.rdbuf' must have class/struct/union type
        type is ''unknown-type''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(75) : error C2227: left of '->freeze' must point to class/struct/union
C:\Libraries\itk201\Utilities\itksys\ios\sstream(75) : error C3861: 'm_OStrStream': identifier not found, even with argument-dependent lookup
C:\Libraries\itk201\Utilities\itksys\ios\sstream(76) : error C2143: syntax error : missing ',' before '&'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(77) : error C2059: syntax error : 'protected'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(78) : error C2143: syntax error : missing ';' before '&'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(78) : error C2501: 'ostrstream' : missing storage-class or type specifiers
C:\Libraries\itk201\Utilities\itksys\ios\sstream(78) : error C2501: 'm_OStrStream' : missing storage-class or type specifiers
C:\Libraries\itk201\Utilities\itksys\ios\sstream(78) : error C2530: 'itksys_ios::m_OStrStream' : references must be initialized
C:\Libraries\itk201\Utilities\itksys\ios\sstream(82) : error C2504: 'ostrstream' : base class undefined
C:\Libraries\itk201\Utilities\itksys\ios\sstream(84) : error C2146: syntax error : missing ';' before identifier 'Superclass'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(84) : error C2501: 'ostringstream::Superclass' : missing storage-class or type specifiers
C:\Libraries\itk201\Utilities\itksys\ios\sstream(86) : error C2039: 'string' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(86) : error C2146: syntax error : missing ';' before identifier 'str'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(86) : error C2501: 'ostringstream::string' : missing storage-class or type specifiers
C:\Libraries\itk201\Utilities\itksys\ios\sstream(93) : warning C4183: 'str': missing return type; assumed to be a member function returning 'int'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(99) : error C2039: 'string' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(99) : error C2504: 'string' : base class undefined
C:\Libraries\itk201\Utilities\itksys\ios\sstream(100) : error C2504: 'istrstream' : base class undefined
C:\Libraries\itk201\Utilities\itksys\ios\sstream(102) : error C2039: 'string' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(102) : error C2146: syntax error : missing ';' before identifier 'StdString'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(102) : error C2501: 'istringstream::StdString' : missing storage-class or type specifiers
C:\Libraries\itk201\Utilities\itksys\ios\sstream(103) : error C2146: syntax error : missing ';' before identifier 'IStrStream'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(103) : error C2501: 'istringstream::IStrStream' : missing storage-class or type specifiers
C:\Libraries\itk201\Utilities\itksys\ios\sstream(106) : error C2039: 'string' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(106) : error C2226: syntax error : unexpected type 'istringstream::string'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(106) : error C2334: unexpected token(s) preceding ':'; skipping apparent function body
C:\Libraries\itk201\Utilities\itksys\ios\sstream(108) : error C2039: 'string' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(108) : error C2146: syntax error : missing ';' before identifier 'str'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(108) : error C2501: 'istringstream::string' : missing storage-class or type specifiers
C:\Libraries\itk201\Utilities\itksys\ios\sstream(108) : warning C4183: 'str': missing return type; assumed to be a member function returning 'int'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(109) : error C2039: 'string' : is not a member of 'operator``global namespace'''
C:\Libraries\itk201\Utilities\itksys\ios\sstream(109) : error C2143: syntax error : missing ',' before '&'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(119) : error C2059: syntax error : '}'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(119) : error C2143: syntax error : missing ';' before '}'
C:\Libraries\itk201\Utilities\itksys\ios\sstream(119) : error C2059: syntax error : '}'
\Libraries\InsightToolkit-2.0.1\Utilities\gdcm\src\gdcmVR.cxx(29) : error C2143: syntax error : missing ';' before '{'
\Libraries\InsightToolkit-2.0.1\Utilities\gdcm\src\gdcmVR.cxx(29) : error C2447: '{' : missing function header (old-style formal list?)


--------------------------------------------------------------------------------


_______________________________________________
Insight-users mailing list
Insight-users at itk.org
http://www.itk.org/mailman/listinfo/insight-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/insight-users/attachments/20050610/22f39ac4/attachment.htm


More information about the Insight-users mailing list