I am trying to reproduce this issue right now and will let you know what I come up with....<div><br></div><div><br>David</div><div><br></div><div><br><div class="gmail_quote">On Thu, Jan 29, 2009 at 1:00 PM, Jim <span dir="ltr"><<a href="mailto:jiksed@yahoo.com">jiksed@yahoo.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Dear All,</div> <div> </div> <div>I got exactly the same error (fatal error C1189) on WinXP + VS 2008 in both Release and Debug modes. Any solution to fix the problem? Thank you.<div class="Ih2E3d">
<br><br><b><i>Alon Mozes <<a href="mailto:amozes77@yahoo.com" target="_blank">amozes77@yahoo.com</a>></i></b> wrote:</div></div> <blockquote style="padding-left:5px;margin-left:5px;border-left:#1010ff 2px solid"><div>
<div></div><div class="Wj3C7c"> <table cellspacing="0" cellpadding="0" border="0"> <tbody> <tr> <td valign="top"> <div>Hi All,</div> <div>I have a great project using VTK/ITK in an older version of Visual Studio. I need to upgrade to the latest version of VS (Visual Studio 2008 Professional Edition). I've found that I must recompile VTK/ITK to properly do so. I've started from scratch and installed the latest CMake 2.6 which offers an option to use the Visual Studio 2008 compiler and VTK 5.2.1. For the configuration, I turn on VTK_USE_MFC (via VTK_USE_GUISUPPORT) and VTK_RENDERING. Then I compile the ALL_BUILD in
Visual Studio and I get several errors. I reconfigured CMake to turn off the VTK_USE_VIDEO_FOR_WINDOWS and all but one error goes away. I'm still stuck with the following failure (which seems to be in the vtkMFC package which I think is critical for me):</div>
<div> </div><font size="1"> <div>C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\sdkddkver.h(217) : fatal error C1189: #error : _WIN32_WINNT settings conflicts with _WIN32_IE setting</div></font> <div> </div> <div>
When I dig a little, I'm taken to the following lines of code:</div> <div> </div><font color="#0000ff" size="2"><font color="#0000ff" size="2"> <div>#if</div></font></font><font size="2"> ((_WIN32_WINNT < _WIN32_WINNT_WIN2K) && (_WIN32_IE > _WIN32_IE_IE60SP1))</font><font color="#808080" size="2"><font color="#808080" size="2"> <div>
#error _WIN32_WINNT settings conflicts with _WIN32_IE setting</div></font></font><font color="#0000ff" size="2"><font color="#0000ff" size="2">
<div>#endif</div> <div> </div> <div><font color="#000000">Its clearly passing this conditional and triggering this error. The weird thing is that the first part of the conditional should be 0 (the values seem to be 0x0600 < 0x0500) so the whole thing should not pass. What's going on here? Any help would be greatly appreciated.</font></div>
<div><font color="#000000"></font> </div> <div><font color="#000000">Thanks for the help.</font></div></font></font></td></tr></tbody></table><br></div></div><div class="Ih2E3d">_______________________________________________<br>
This is the private VTK discussion list.<br>Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br></div></blockquote><br><p>
</p><br>_______________________________________________<br>
This is the private VTK discussion list.<br>
Please keep messages on-topic. Check the FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" target="_blank">http://www.vtk.org/Wiki/VTK_FAQ</a><br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.vtk.org/mailman/listinfo/vtkusers" target="_blank">http://www.vtk.org/mailman/listinfo/vtkusers</a><br>
<br></blockquote></div><br></div>