<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.2627" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Forget to mention that I was compiling under Visual
Studion .net.</FONT></DIV>
<DIV> </DIV>
<DIV style="FONT: 10pt arial">----- Original Message -----
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A
title=khua1@jhu.edu href="mailto:khua1@jhu.edu">Luke Hua</A> </DIV>
<DIV><B>To:</B> <A title=insight-users@itk.org
href="mailto:insight-users@itk.org">insight-users@itk.org</A> </DIV>
<DIV><B>Sent:</B> Friday, June 10, 2005 11:52 AM</DIV>
<DIV><B>Subject:</B> [Insight-users] compiling error for itk2.0.1</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2>When I tried to compile itk2.0.1 got following
error. Does any body know why?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2>Compiling...<BR>gdcmVR.cxx<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(62)
: error C2039: 'ostream' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(62) : error
C2873: 'ostream' : symbol cannot be used in a
using-declaration<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(63) :
error C2039: 'istream' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(63) : error
C2873: 'istream' : symbol cannot be used in a
using-declaration<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(64) :
error C2039: 'istrstream' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(64) : error
C2873: 'istrstream' : symbol cannot be used in a
using-declaration<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(65) :
error C2039: 'ostrstream' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(65) : error
C2873: 'ostrstream' : symbol cannot be used in a
using-declaration<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(66) :
error C2039: 'ios' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(66) : error
C2873: 'ios' : symbol cannot be used in a
using-declaration<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(67) :
error C2039: 'endl' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(67) : error
C2873: 'endl' : symbol cannot be used in a
using-declaration<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(68) :
error C2039: 'ends' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(68) : error
C2873: 'ends' : symbol cannot be used in a
using-declaration<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(69) :
error C2039: 'flush' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(69) : error
C2873: 'flush' : symbol cannot be used in a
using-declaration<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) :
error C2143: syntax error : missing ')' before
'&'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2143:
syntax error : missing ';' before
'&'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2460:
'itksys_ios::ostringstream_cleanup::ostrstream' : uses
'itksys_ios::ostringstream_cleanup', which is being
defined<BR>
C:\Libraries\itk201\Utilities\itksys\ios\sstream(72) : see declaration of
'itksys_ios::ostringstream_cleanup'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(74)
: error C2059: syntax error :
')'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2065:
'ostr' : undeclared
identifier<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error
C3861: 'm_OStrStream': identifier not found, even with argument-dependent
lookup<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2531:
'itksys_ios::ostringstream_cleanup::ostr' : reference to a bit field
illegal<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(74) : error C2501:
'itksys_ios::ostringstream_cleanup::ostr' : missing storage-class or type
specifiers<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(75) : error
C2588: '::~ostringstream_cleanup' : illegal global
destructor<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(75) : error
C2228: left of '.rdbuf' must have class/struct/union
type<BR> type is
''unknown-type''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(75) : error
C2227: left of '->freeze' must point to
class/struct/union<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(75) :
error C3861: 'm_OStrStream': identifier not found, even with argument-dependent
lookup<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(76) : error C2143:
syntax error : missing ',' before
'&'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(77) : error C2059:
syntax error :
'protected'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(78) : error
C2143: syntax error : missing ';' before
'&'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(78) : error C2501:
'ostrstream' : missing storage-class or type
specifiers<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(78) : error
C2501: 'm_OStrStream' : missing storage-class or type
specifiers<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(78) : error
C2530: 'itksys_ios::m_OStrStream' : references must be
initialized<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(82) : error
C2504: 'ostrstream' : base class
undefined<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(84) : error C2146:
syntax error : missing ';' before identifier
'Superclass'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(84) : error
C2501: 'ostringstream::Superclass' : missing storage-class or type
specifiers<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(86) : error
C2039: 'string' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(86) : error
C2146: syntax error : missing ';' before identifier
'str'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(86) : error C2501:
'ostringstream::string' : missing storage-class or type
specifiers<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(93) : warning
C4183: 'str': missing return type; assumed to be a member function returning
'int'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(99) : error C2039:
'string' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(99) : error
C2504: 'string' : base class
undefined<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(100) : error
C2504: 'istrstream' : base class
undefined<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(102) : error
C2039: 'string' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(102) : error
C2146: syntax error : missing ';' before identifier
'StdString'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(102) : error
C2501: 'istringstream::StdString' : missing storage-class or type
specifiers<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(103) : error
C2146: syntax error : missing ';' before identifier
'IStrStream'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(103) : error
C2501: 'istringstream::IStrStream' : missing storage-class or type
specifiers<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(106) : error
C2039: 'string' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(106) : error
C2226: syntax error : unexpected type
'istringstream::string'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(106)
: error C2334: unexpected token(s) preceding ':'; skipping apparent function
body<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(108) : error C2039:
'string' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(108) : error
C2146: syntax error : missing ';' before identifier
'str'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(108) : error C2501:
'istringstream::string' : missing storage-class or type
specifiers<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(108) : warning
C4183: 'str': missing return type; assumed to be a member function returning
'int'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(109) : error C2039:
'string' : is not a member of 'operator``global
namespace'''<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(109) : error
C2143: syntax error : missing ',' before
'&'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(119) : error C2059:
syntax error : '}'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(119) :
error C2143: syntax error : missing ';' before
'}'<BR>C:\Libraries\itk201\Utilities\itksys\ios\sstream(119) : error C2059:
syntax error :
'}'<BR>\Libraries\InsightToolkit-2.0.1\Utilities\gdcm\src\gdcmVR.cxx(29) : error
C2143: syntax error : missing ';' before
'{'<BR>\Libraries\InsightToolkit-2.0.1\Utilities\gdcm\src\gdcmVR.cxx(29) : error
C2447: '{' : missing function header (old-style formal
list?)</FONT></DIV></FONT></DIV>
<P>
<HR>
<P></P>_______________________________________________<BR>Insight-users mailing
list<BR>Insight-users@itk.org<BR>http://www.itk.org/mailman/listinfo/insight-users<BR></BODY></HTML>