<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:p="urn:schemas-microsoft-com:office:powerpoint" xmlns:a="urn:schemas-microsoft-com:office:access" xmlns:dt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882" xmlns:s="uuid:BDC6E3F0-6DA3-11d1-A2A3-00AA00C14882" xmlns:rs="urn:schemas-microsoft-com:rowset" xmlns:z="#RowsetSchema" xmlns:b="urn:schemas-microsoft-com:office:publisher" xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet" xmlns:c="urn:schemas-microsoft-com:office:component:spreadsheet" xmlns:odc="urn:schemas-microsoft-com:office:odc" xmlns:oa="urn:schemas-microsoft-com:office:activation" xmlns:html="http://www.w3.org/TR/REC-html40" xmlns:q="http://schemas.xmlsoap.org/soap/envelope/" xmlns:rtc="http://microsoft.com/officenet/conferencing" xmlns:D="DAV:" xmlns:Repl="http://schemas.microsoft.com/repl/" xmlns:mt="http://schemas.microsoft.com/sharepoint/soap/meetings/" xmlns:x2="http://schemas.microsoft.com/office/excel/2003/xml" xmlns:ppda="http://www.passport.com/NameSpace.xsd" xmlns:ois="http://schemas.microsoft.com/sharepoint/soap/ois/" xmlns:dir="http://schemas.microsoft.com/sharepoint/soap/directory/" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:dsp="http://schemas.microsoft.com/sharepoint/dsp" xmlns:udc="http://schemas.microsoft.com/data/udc" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:sub="http://schemas.microsoft.com/sharepoint/soap/2002/1/alerts/" xmlns:ec="http://www.w3.org/2001/04/xmlenc#" xmlns:sp="http://schemas.microsoft.com/sharepoint/" xmlns:sps="http://schemas.microsoft.com/sharepoint/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:udcs="http://schemas.microsoft.com/data/udc/soap" xmlns:udcxf="http://schemas.microsoft.com/data/udc/xmlfile" xmlns:udcp2p="http://schemas.microsoft.com/data/udc/parttopart" xmlns:wf="http://schemas.microsoft.com/sharepoint/soap/workflow/" xmlns:dsss="http://schemas.microsoft.com/office/2006/digsig-setup" xmlns:dssi="http://schemas.microsoft.com/office/2006/digsig" xmlns:mdssi="http://schemas.openxmlformats.org/package/2006/digital-signature" xmlns:mver="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mrels="http://schemas.openxmlformats.org/package/2006/relationships" xmlns:spwp="http://microsoft.com/sharepoint/webpartpages" xmlns:ex12t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:ex12m="http://schemas.microsoft.com/exchange/services/2006/messages" xmlns:pptsl="http://schemas.microsoft.com/sharepoint/soap/SlideLibrary/" xmlns:spsl="http://microsoft.com/webservices/SharePointPortalServer/PublishedLinksService" xmlns:Z="urn:schemas-microsoft-com:" xmlns:st="&#1;" xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<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]-->
</head>

<body bgcolor=white lang=EN-US link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>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:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Alan<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<div>

<div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";
color:windowtext'>From:</span></b><span style='font-size:10.0pt;font-family:
"Tahoma","sans-serif";color:windowtext'> paraview-bounces@paraview.org
[mailto:paraview-bounces@paraview.org] <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> paraview@paraview.org<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:12.0pt'>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
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:12.0pt'>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:12.0pt'><br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a
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
href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a 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>

</body>

</html>