<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16535"></HEAD>
<BODY bgColor=#ffffff text=#000000>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=214224323-06062010>My build works OK on Windows 7 64
MSVC2008.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=214224323-06062010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=214224323-06062010>A very handy tool for debugging what bits get pulled
into a build is Sysinternals Processor Monitor (previously
Filemon)</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=214224323-06062010><A
href="http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx">http://technet.microsoft.com/en-us/sysinternals/bb842062.aspx</A></SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=214224323-06062010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=214224323-06062010>You can filter on file paths/names and very
quickly see where MSVC pokes around to find things like header files
etc.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=214224323-06062010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=214224323-06062010>HTH</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=214224323-06062010></SPAN></FONT> </DIV>
<DIV dir=ltr align=left><FONT color=#0000ff size=2 face=Arial><SPAN
class=214224323-06062010>Paul</SPAN></FONT>
<HR tabIndex=-1>
<FONT size=2 face=Tahoma><B>From:</B> paraview-bounces@paraview.org
[mailto:paraview-bounces@paraview.org] <B>On Behalf Of </B>Dr. X<BR><B>Sent:</B>
Monday, 7 June 2010 9:40 AM<BR><B>To:</B>
paraview@paraview.org<BR><B>Subject:</B> Re: [Paraview] Fail to build vtkIO in
3.8.0 on Windows764bit MSVC2008<BR></FONT><BR></DIV>
<DIV></DIV>Hi All,<BR>I even disabled "CMAKE_USE_WIN32_THREADS" and used
"CMAKE_USE_PTHREADS". That makes no difference to my
problem.<BR><BR>best,<BR>x<BR><BR>On 6/6/2010 10:01 AM, Dr. X wrote:
<BLOCKQUOTE cite=mid:4C0BAA45.8040207@renci.org type="cite">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 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 name=Generator content="Microsoft Word 12 (filtered medium)">
<STYLE>@font-face {
font-family: Cambria Math;
}
@font-face {
font-family: Calibri;
}
@font-face {
font-family: Tahoma;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.0in 1.0in 1.0in; }
P.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; COLOR: black; FONT-SIZE: 12pt
}
LI.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; COLOR: black; FONT-SIZE: 12pt
}
DIV.MsoNormal {
MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman","serif"; COLOR: black; FONT-SIZE: 12pt
}
A:link {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlink {
COLOR: blue; TEXT-DECORATION: underline; mso-style-priority: 99
}
A:visited {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.MsoHyperlinkFollowed {
COLOR: purple; TEXT-DECORATION: underline; mso-style-priority: 99
}
SPAN.EmailStyle17 {
FONT-FAMILY: "Calibri","sans-serif"; COLOR: #1f497d; mso-style-type: personal-reply
}
.MsoChpDefault {
FONT-SIZE: 10pt; mso-style-type: export-only
}
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-FAMILY: 'Calibri','sans-serif'; COLOR: rgb(31,73,125); FONT-SIZE: 11pt">Not
sure if this helps, but I don’t have any SDK’s explicitly installed at all
on my machine. I am 64 bit windows 7, using the MSVC 2008 (9.0)
compiler. I also looked in my path settings, and no SDK is to be
found. 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-FAMILY: 'Calibri','sans-serif'; COLOR: rgb(31,73,125); FONT-SIZE: 11pt"><O:P></O:P></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: rgb(31,73,125); FONT-SIZE: 11pt">Alan<O:P></O:P></SPAN></P>
<P class=MsoNormal><SPAN
style="FONT-FAMILY: 'Calibri','sans-serif'; COLOR: rgb(31,73,125); FONT-SIZE: 11pt"><O:P></O:P></SPAN></P>
<DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: rgb(181,196,223) 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<P class=MsoNormal><B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: windowtext; FONT-SIZE: 10pt">From:</SPAN></B><SPAN
style="FONT-FAMILY: 'Tahoma','sans-serif'; COLOR: windowtext; FONT-SIZE: 10pt">
<A class=moz-txt-link-abbreviated
href="mailto:paraview-bounces@paraview.org"
moz-do-not-send="true">paraview-bounces@paraview.org</A> [<A
class=moz-txt-link-freetext href="mailto:paraview-bounces@paraview.org"
moz-do-not-send="true">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"
moz-do-not-send="true">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></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></O:P></P></DIV>
<DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal>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 <<A
href="mailto:xunlei@renci.org" target=_blank
moz-do-not-send="true">xunlei@renci.org</A>> wrote:<O:P></O:P></P>
<DIV>
<P style="MARGIN-BOTTOM: 12pt" class=MsoNormal>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
16 error C2059: syntax error :
'constant' C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\ws2def.h 390
vtkIO<BR>Error 17 error C2143: syntax
error : missing ';' before '}' C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\ws2def.h 443
vtkIO<BR>Error 18 error C4430: missing
type specifier - int assumed. Note: C++ does not support
default-int C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\ws2def.h 443
vtkIO<BR>Error 19 error C4430: missing
type specifier - int assumed. Note: C++ does not support
default-int C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\ws2def.h 443
vtkIO<BR>Error 25 error C2011:
'sockaddr_in' : 'struct' type redefinition C:\Program
Files\Microsoft SDKs\Windows\v7.1\Include\ws2def.h
583 vtkIO<BR>Error 26
error C2011: 'fd_set' : 'struct' type redefinition
C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\WinSock2.h 132
vtkIO<BR>Error 28 error C2011: 'timeval'
: 'struct' type redefinition C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\WinSock2.h 176
vtkIO<BR>Error 29 error C2011: 'hostent'
: 'struct' type redefinition C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\WinSock2.h 232
vtkIO<BR>Error 30 error C2011: 'netent'
: 'struct' type redefinition C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\WinSock2.h 245
vtkIO<BR>Error 31 error C2011: 'servent'
: 'struct' type redefinition C:\Program Files\Microsoft
SDKs\Windows\v7.1\Include\WinSock2.h 252
vtkIO<BR>---------------------<BR><BR>I have made sure before every #include
<windows.h> there is #include <WinSock2.h>. 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 style="MARGIN-BOTTOM: 12pt"
class=MsoNormal><BR>_______________________________________________<BR>Powered
by <A href="http://www.kitware.com" target=_blank
moz-do-not-send="true">www.kitware.com</A><BR><BR>Visit other Kitware
open-source projects at <A
href="http://www.kitware.com/opensource/opensource.html" target=_blank
moz-do-not-send="true">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
moz-do-not-send="true">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
moz-do-not-send="true">http://www.paraview.org/mailman/listinfo/paraview</A><O:P></O:P></P></DIV>
<P class=MsoNormal><O:P></O:P></P></DIV>
<P
class=MsoNormal><O:P></O:P></P></DIV></BLOCKQUOTE><BR></BLOCKQUOTE><BR></BODY></HTML>