<!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> </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> </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>
itk::VTKImageIO::OpenVTKFileForReading(std::ifstream&, const
char*)':<BR>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx:68: error: invalid
conversion <BR> from `const int' to
`std::_Ios_Openmode'<BR>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx:68:
error: initializing <BR> argument 2 of `void
std::basic_ifstream<_CharT, _Traits>::open(const char*, <BR>
std::_Ios_Openmode) [with _CharT = char, _Traits =
std::char_traits<char>]'<BR>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx:
In member function `bool <BR>
itk::VTKImageIO::OpenVTKFileForWriting(std::ofstream&, const
char*)':<BR>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx:110: error: invalid
conversion <BR> from `const int' to
`std::_Ios_Openmode'<BR>/usr/local/src/Insight/Code/IO/itkVTKImageIO.cxx:110:
error: initializing <BR> argument 2 of `void
std::basic_ofstream<_CharT, _Traits>::open(const char*, <BR>
std::_Ios_Openmode) [with _CharT = char, _Traits =
std::char_traits<char>]'<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> </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> </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> </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> </DIV>
<DIV><SPAN class=384521720-20122004><FONT face=Arial color=#0000ff
size=2>Jean-Philippe</FONT></SPAN></DIV></BODY></HTML>