<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16587" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2><FONT color=#000000><FONT size=1><FONT size=2>
<P><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial; mso-ansi-language: EN-GB">Hi,<BR>I'm
trying to build my itk/vtk application...witrh Cmake 2.4 and Visual Studio
2005.<BR>A strange problem occurs with hxx files of itk
code.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office"
/><o:p></o:p></SPAN></P>
<P><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial; mso-ansi-language: EN-GB"><BR><EM>It
say that there are some errors in in
SystemTools.hxx:<BR>J:\Software\Release\Kitware\ITK_bin\Utilities\itksys/SystemTools.hxx(626)
: error C2143: syntax error : missing ')' before
'constant'<BR>J:\Software\Release\Kitware\ITK_bin\Utilities\itksys/SystemTools.hxx(626)
: error C2143: syntax error : missing ';' before
'constant'<BR>J:\Software\Release\Kitware\ITK_bin\Utilities\itksys/SystemTools.hxx(626)
: error C2059: syntax error :
')'<BR>J:\Software\Release\Kitware\ITK_bin\Utilities\itksys/SystemTools.hxx(626)
: error C2238: unexpected token(s) preceding ';<o:p></o:p></EM></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><SPAN lang=EN-US
style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial"><FONT size=2>It seems
that he is trying to</FONT> <FONT size=2>build the .hxx file....am I
right?</FONT></SPAN><SPAN lang=EN-US
style="FONT-SIZE: 11pt"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT size=2><SPAN lang=EN-US
style="FONT-SIZE: 11pt; COLOR: black; FONT-FAMILY: Arial">I found another
post in the itk newsletter with a similar problem: "</SPAN><FONT
face=Arial><SPAN lang=EN-US style="FONT-SIZE: 11pt; COLOR: black"><EM>HELP ITK
builting solution : Visual Studio .NET : checking if txx, hxx are marked as C++
files</EM>"</SPAN><SPAN lang=EN-US
style="FONT-SIZE: 11pt"><o:p></o:p></SPAN></FONT></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Arial> <o:p></o:p></FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black">As you suggested I configured the Visual
studio to not consider the .hxx file</SPAN><SPAN
lang=EN-US><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial><SPAN lang=FR
style="FONT-SIZE: 10pt; COLOR: black; mso-ansi-language: FR">C/c++ File
extension: *.cpp;*.cxx;*.cc;*.c</SPAN><SPAN lang=FR
style="mso-ansi-language: FR"><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black">I also deleted the .hxx extension from the
field "Extension to Include"</SPAN><SPAN
lang=EN-US><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><FONT face=Arial><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black">Then I used also regEdit to delete any
</SPAN><SPAN lang=EN-GB
style="FONT-SIZE: 10pt; COLOR: black; mso-ansi-language: EN-GB">references
</SPAN><SPAN lang=EN-US style="FONT-SIZE: 10pt; COLOR: black">to .hxx
extension.</SPAN><SPAN lang=EN-US><o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Then I reloaded
the Project but it give me the same error.</SPAN><SPAN
lang=EN-US><o:p></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Arial></FONT></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><FONT
face=Arial>It’s strange because I compiled this application for month without
having any problem. Now I simply created new classes…but still using the same
version of Cmake and Visual Studio.</FONT></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US><o:p><FONT
face=Arial> </FONT></o:p></SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">.hxx are becoming my
nightmare....how can i solve this problem?</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Thank you,</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Matteo
Campana</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"></SPAN> </P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">------------------------</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Matteo
Campana</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">PhD Student
</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Bologna
University</SPAN></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN-US
style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial">Italy</SPAN></P>
<P></FONT></FONT></FONT></FONT><FONT face=Arial size=2><FONT color=#000000><FONT
size=1><FONT size=2> </P></DIV>
<P><BR></P></FONT></FONT></FONT></FONT></BODY></HTML>