<!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.2800.1458" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff 
size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff size=2>I keep 
getting the following error when compiling ITK under cygwin. 
</FONT></SPAN></DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff 
size=2>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx: In member function 
`bool <BR>&nbsp;&nbsp; 
itk::VTKImageIO::OpenVTKFileForReading(std::ifstream&amp;, const 
char*)':<BR>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx:68: error: invalid 
conversion <BR>&nbsp;&nbsp; from `const int' to 
`std::_Ios_Openmode'<BR>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx:68: 
error:&nbsp;&nbsp; initializing <BR>&nbsp;&nbsp; argument 2 of `void 
std::basic_ifstream&lt;_CharT, _Traits&gt;::open(const char*, <BR>&nbsp;&nbsp; 
std::_Ios_Openmode) [with _CharT = char, _Traits = 
std::char_traits&lt;char&gt;]'<BR>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx: 
In member function `bool <BR>&nbsp;&nbsp; 
itk::VTKImageIO::OpenVTKFileForWriting(std::ofstream&amp;, const 
char*)':<BR>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx:110: error: invalid 
conversion <BR>&nbsp;&nbsp; from `const int' to 
`std::_Ios_Openmode'<BR>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx:110: 
error:&nbsp;&nbsp; initializing <BR>&nbsp;&nbsp; argument 2 of `void 
std::basic_ofstream&lt;_CharT, _Traits&gt;::open(const char*, <BR>&nbsp;&nbsp; 
std::_Ios_Openmode) [with _CharT = char, _Traits = 
std::char_traits&lt;char&gt;]'<BR>make[5]: *** [itkVTKImageIO.o] Error 
1<BR>make[4]: *** [default_target] Error 2<BR>make[3]: *** [default_target_IO] 
Error 2<BR>make[2]: *** [default_target] Error 2<BR>make[1]: *** 
[default_target_Code] Error 2<BR>make: *** [default_target] Error 
2</FONT></SPAN></DIV>
<DIV><SPAN class=384521720-20122004></SPAN><SPAN class=384521720-20122004><FONT 
face=Arial color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff size=2>I use 
gcc 3.3.3 and updated my cvs repository a few days ago, and again earlier this 
morning.</FONT></SPAN></DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff size=2>Any 
help would be appreciated.</FONT></SPAN></DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff size=2>Happy 
Holidays,</FONT></SPAN></DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff 
size=2>Jean-Philippe</FONT></SPAN></DIV></BODY></HTML>