<div dir="ltr">Hi Daryl,<div><br></div><div>The value of WIN32 and _WIN32 should be the same for 64-bit as 32-bit (in any case, the important thing is whether you're building for a 64-bit vs 32-bit target, not whether you're building on a 64-bit vs 32-bit machine).</div><div><br></div><div>I've built VTK with Visual Studio 2015 Update 3 (on Windows 7 Pro 64-bit), with Python 3.4, but I'm sure that Python is a red herring as far as your situation is concerned. Python 3.5 works just fine with VTK.</div><div><br></div><div>My suspicion is that your compiler has become mis-configured somehow if it is spewing a ton of warnings and then dying with an error so early in the build. Start with something simple like building a cmake-based "hello world" program, then try VTK without Python or any other extra options, and if that works then try building VTK with Python.</div><div><br></div><div> - David</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Sep 26, 2016 at 2:01 PM, Daryl Lee <span dir="ltr"><<a href="mailto:daryl@daryllee.com" target="_blank">daryl@daryllee.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 9/26/16 11:59 AM, Ben Boeckel wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Fri, Sep 23, 2016 at 17:22:34 -0700, Daryl Lee wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am making my first attempt, without success, to build VTK 7.0.0 on 64-bit<br>
Windows 10 for Python 3.5, following the instructions in<br>
<a href="http://www.vtk.org/Wiki/VTK/Configure_and_Build" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK/Co<wbr>nfigure_and_Build</a>. Before I detail the issues<br>
I'm having, should I expect to be able to do this?<br>
</blockquote>
We test Python 3.4 on Windows 7 (and 3.5 on Linux) now. At the time of<br>
7.0.0's release, we were testing 3.2 on Windows 7 (and 3.4 on Linux), so<br>
I don't know the state of 3.5 for the release, but I don't think there<br>
were any changes for 3.5 specifically.<br>
<br>
What errors are you seeing? Also, what CMake/Visual Studio versions?<br>
<br>
--Ben<br>
</blockquote>
<br></span>
Thanks for the response.<br>
<br>
Environment:<br>
CMake 3.6.2<br>
Visual Studio 2015 14.0.25431.01 Update 3<br>
Windows 10 Home Version 1511 (64-bit)<br>
<br>
1. I get a couple hundred warnings on exception processing, with the suggestion to set the /EHsc option, but I can't figure out in Visual Studio where to set that. I've explored the ALL_BUILD options and can't find any place for that, nor can I find it in any of the individual projects I examined.<br>
<br>
2. The first of a long list of actual errors is in lookup3.c, where is found this sequence at line 57:<br>
<br>
#ifndef WIN32<br>
#include <sys/param.h><br>
#endif<br>
<br>
where it can't find sys/param.h. My guess is that since this is a 64-bit machine, WIN32 may not be defined, but since it's a Windows machine, param.h may not exist.<br>
<br>
Any help would be appreciated.<span class="HOEnZb"><font color="#888888"><br>
<br>
-- <br>
Daryl Lee<br>
We dance round in a ring and suppose, but the Secret sits in the center and knows. -- Robert Frost</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
______________________________<wbr>_________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensou<wbr>rce/opensource.html</a><br>
<br>
Please keep messages on-topic and check the VTK FAQ at: <a href="http://www.vtk.org/Wiki/VTK_FAQ" rel="noreferrer" target="_blank">http://www.vtk.org/Wiki/VTK_FA<wbr>Q</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=vtkusers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=<wbr>vtkusers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/vtkusers" rel="noreferrer" target="_blank">http://public.kitware.com/mail<wbr>man/listinfo/vtkusers</a><br>
</div></div></blockquote></div><br></div>