[Insight-users] HELP ITK builting solution

Marisa Aurélio asiram00 at yahoo.com
Sat Oct 23 12:11:21 EDT 2004


Hi ITK users,
I'm trying to built my ITK visual studio solution.
However, I get lot´s of mistakes related to the 3
files that belong to the itksys project. Such as:
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(45)
: error C2039: 'string' : is not a member of
'operator``global namespace'''
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(45)
: error C2146: syntax error : missing ';' before
identifier 'MakeCindentifier'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(45)
: warning C4183: 'MakeCindentifier': missing return
type; assumed to be a member function returning 'int'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(90)
: error C2039: 'string' : is not a member of
'operator``global namespace'''
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(90)
: error C2146: syntax error : missing ';' before
identifier 'Capitalized'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(90)
: error C2086: 'int itksys::SystemTools::string' :
redefinition
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(45)
: see declaration of 'itksys::SystemTools::string'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(90)
: error C2039: 'string' : is not a member of
'operator``global namespace'''
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(90)
: error C2143: syntax error : missing ',' before '&'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(90)
: warning C4183: 'Capitalized': missing return type;
assumed to be a member function returning 'int'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(95)
: error C2039: 'string' : is not a member of
'operator``global namespace'''
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(95)
: error C2146: syntax error : missing ';' before
identifier 'LowerCase'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(95)
: error C2086: 'int itksys::SystemTools::string' :
redefinition
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(45)
: see declaration of 'itksys::SystemTools::string'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(95)
: error C2039: 'string' : is not a member of
'operator``global namespace'''
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(95)
: error C2143: syntax error : missing ',' before '&'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(95)
: warning C4183: 'LowerCase': missing return type;
assumed to be a member function returning 'int'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(100)
: error C2039: 'string' : is not a member of
'operator``global namespace'''
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(100)
: error C2146: syntax error : missing ';' before
identifier 'UpperCase'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(100)
: error C2086: 'int itksys::SystemTools::string' :
redefinition
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(45)
: see declaration of 'itksys::SystemTools::string'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(100)
: error C2039: 'string' : is not a member of
'operator``global namespace'''
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(100)
: error C2143: syntax error : missing ',' before '&'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(100)
: warning C4183: 'UpperCase': missing return type;
assumed to be a member function returning 'int'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(110)
: error C2039: 'string' : is not a member of
'operator``global namespace'''
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(110)
: error C2061: syntax error : identifier 'string'
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(116)
: error C2039: 'string' : is not a member of
'operator``global namespace'''
C:\Programas\Insight\bin\Utilities\itksys\SystemTools.hxx(116)
: error C2146: syntax error : missing ';' before
identifier 'ConvertToOutputPath'

And so on....
I get this mistakes in any file which needs to call
the SystemTools.hxx file. All the mistakes are like
this.
It could be something related with the way I used to
create the solution with CMake? Or, do I have to
change  something before builting my solution?
By the way, I'm using the 1.8.0 version with Visual
C++ .NET
Thanks in advance.
Marisa


		
_______________________________
Do you Yahoo!?
Express yourself with Y! Messenger! Free. Download now. 
http://messenger.yahoo.com


More information about the Insight-users mailing list