<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=ISO-8859-1"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Alan,<br>
I did what you suggested. It did not mitigate the problem.<br>
I am wondering whether there is something in the CMake step that I
mis-configured. Any suggestions that I can try?<br>
Thanks&nbsp; a lot.<br>
<br>
Best,<br>
x<br>
<br>
On 6/4/2010 4:26 PM, Scott, W Alan wrote:
<blockquote
 cite="mid:56F66A9F02F8DD40B540440CEE290BEB88E78B6F5F@ES03SNLNT.srn.sandia.gov"
 type="cite">
  <meta http-equiv="Content-Type"
 content="text/html; charset=ISO-8859-1">
  <meta name="Generator" content="Microsoft Word 12 (filtered medium)">
  <style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
  </style>
<!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
  <div class="Section1">
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Not
sure if this helps, but I don&#8217;t have any SDK&#8217;s explicitly
installed at all on my machine.&nbsp; I am &nbsp;64 bit windows 7, using the MSVC
2008 (9.0) compiler.&nbsp; I also looked in my path settings, and no SDK is
to
be found.&nbsp; Maybe try uninstalling the SDK, be sure to remove the SDK
references in your path settings (and other environment settings),
cmake and
recompile from scratch?<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"><o:p>&nbsp;</o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);">Alan<o:p></o:p></span></p>
  <p class="MsoNormal"><span
 style="font-size: 11pt; font-family: &quot;Calibri&quot;,&quot;sans-serif&quot;; color: rgb(31, 73, 125);"><o:p>&nbsp;</o:p></span></p>
  <div>
  <div
 style="border-style: solid none none; border-color: rgb(181, 196, 223) -moz-use-text-color -moz-use-text-color; border-width: 1pt medium medium; padding: 3pt 0in 0in;">
  <p class="MsoNormal"><b><span
 style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: windowtext;">From:</span></b><span
 style="font-size: 10pt; font-family: &quot;Tahoma&quot;,&quot;sans-serif&quot;; color: windowtext;">
<a class="moz-txt-link-abbreviated" href="mailto:paraview-bounces@paraview.org">paraview-bounces@paraview.org</a>
[<a class="moz-txt-link-freetext" href="mailto:paraview-bounces@paraview.org">mailto:paraview-bounces@paraview.org</a>] <b>On Behalf Of </b>Dr. X<br>
  <b>Sent:</b> Friday, June 04, 2010 2:16 PM<br>
  <b>To:</b> Dave Partyka<br>
  <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:paraview@paraview.org">paraview@paraview.org</a><br>
  <b>Subject:</b> Re: [Paraview] Fail to build vtkIO in 3.8.0 on
Windows7 64bit
MSVC2008<o:p></o:p></span></p>
  </div>
  </div>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  <p class="MsoNormal">Hi Dave,<br>
I tried it with both 6.0A and 7.1 SDK by running a tool coming with the
SDK.
But the compilation problem stays.<br>
  <br>
Best,<br>
x<br>
  <br>
On 6/4/2010 12:52 PM, Dave Partyka wrote: <o:p></o:p></p>
  <p class="MsoNormal">I don't think changing the SDK that Visual
Studio is using
is supported. VS 2008 uses the 6.0A SDK. If you want to use the 7.1 SDK
then
you probably need to use VS 2010. I suspect there are configuration
checks that
CMake assumes if VS 2008 then use SDK 6.0A conventions. <o:p></o:p></p>
  <div>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  </div>
  <div>
  <p class="MsoNormal" style="margin-bottom: 12pt;">That said, ParaView
should
compile fine with Visual Stodio 2008 or 2010 using the appropriate SDK.<o:p></o:p></p>
  <div>
  <p class="MsoNormal">On Wed, Jun 2, 2010 at 7:25 PM, Dr. X &lt;<a
 moz-do-not-send="true" href="mailto:xunlei@renci.org" target="_blank">xunlei@renci.org</a>&gt;
wrote:<o:p></o:p></p>
  <div>
  <p class="MsoNormal" style="margin-bottom: 12pt;">Hi All,<br>
I am building ParaView 3.8.0 from source on a Windows7 64bit machine
with
MSVC2008 and Windows SDK7.1.<br>
I ran into a lot of compilation errors regarding redefinitions in
ws2def.h and
WinSock2.h. Here are some of these errors in vtkIO project:<br>
---------------------<br>
Error&nbsp;&nbsp;&nbsp; 16&nbsp;&nbsp;&nbsp; error C2059: syntax error :
'constant'&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\ws2def.h&nbsp;&nbsp;&nbsp; 390&nbsp;&nbsp;&nbsp;
vtkIO<br>
Error&nbsp;&nbsp;&nbsp; 17&nbsp;&nbsp;&nbsp; error C2143: syntax error :
missing ';' before '}'&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\ws2def.h&nbsp;&nbsp;&nbsp; 443&nbsp;&nbsp;&nbsp;
vtkIO<br>
Error&nbsp;&nbsp;&nbsp; 18&nbsp;&nbsp;&nbsp; error C4430: missing type
specifier - int assumed. Note: C++ does not support
default-int&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\ws2def.h&nbsp;&nbsp;&nbsp; 443&nbsp;&nbsp;&nbsp; vtkIO<br>
Error&nbsp;&nbsp;&nbsp; 19&nbsp;&nbsp;&nbsp; error C4430: missing type
specifier - int assumed. Note: C++ does not support
default-int&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\ws2def.h&nbsp;&nbsp;&nbsp; 443&nbsp;&nbsp;&nbsp;
vtkIO<br>
Error&nbsp;&nbsp;&nbsp; 25&nbsp;&nbsp;&nbsp; error C2011: 'sockaddr_in' :
'struct' type redefinition&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\ws2def.h&nbsp;&nbsp;&nbsp; 583&nbsp;&nbsp;&nbsp;
vtkIO<br>
Error&nbsp;&nbsp;&nbsp; 26&nbsp;&nbsp;&nbsp; error C2011: 'fd_set' : 'struct'
type redefinition&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\WinSock2.h&nbsp;&nbsp;&nbsp; 132&nbsp;&nbsp;&nbsp;
vtkIO<br>
Error&nbsp;&nbsp;&nbsp; 28&nbsp;&nbsp;&nbsp; error C2011: 'timeval' : 'struct'
type redefinition&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\WinSock2.h&nbsp;&nbsp;&nbsp; 176&nbsp;&nbsp;&nbsp;
vtkIO<br>
Error&nbsp;&nbsp;&nbsp; 29&nbsp;&nbsp;&nbsp; error C2011: 'hostent' : 'struct'
type redefinition&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\WinSock2.h&nbsp;&nbsp;&nbsp; 232&nbsp;&nbsp;&nbsp;
vtkIO<br>
Error&nbsp;&nbsp;&nbsp; 30&nbsp;&nbsp;&nbsp; error C2011: 'netent' : 'struct'
type redefinition&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\WinSock2.h&nbsp;&nbsp;&nbsp; 245&nbsp;&nbsp;&nbsp;
vtkIO<br>
Error&nbsp;&nbsp;&nbsp; 31&nbsp;&nbsp;&nbsp; error C2011: 'servent' : 'struct'
type redefinition&nbsp;&nbsp;&nbsp; C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\WinSock2.h&nbsp;&nbsp;&nbsp; 252&nbsp;&nbsp;&nbsp;
vtkIO<br>
---------------------<br>
  <br>
I have made sure before every #include &lt;windows.h&gt; there is
#include
&lt;WinSock2.h&gt;. But that did not mitigate the problem. Can anyone
help
please? Thanks a lot.<br>
  <br>
Best,<br>
x<o:p></o:p></p>
  </div>
  <p class="MsoNormal" style="margin-bottom: 12pt;"><br>
_______________________________________________<br>
Powered by <a moz-do-not-send="true" href="http://www.kitware.com"
 target="_blank">www.kitware.com</a><br>
  <br>
Visit other Kitware open-source projects at <a moz-do-not-send="true"
 href="http://www.kitware.com/opensource/opensource.html"
 target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
  <br>
Please keep messages on-topic and check the ParaView Wiki at: <a
 moz-do-not-send="true" href="http://paraview.org/Wiki/ParaView"
 target="_blank">http://paraview.org/Wiki/ParaView</a><br>
  <br>
Follow this link to subscribe/unsubscribe:<br>
  <a moz-do-not-send="true"
 href="http://www.paraview.org/mailman/listinfo/paraview"
 target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><o:p></o:p></p>
  </div>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  </div>
  <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
  </div>
</blockquote>
<br>
</body>
</html>