<div dir="ltr"><div dir="ltr">You're using Python 3.7?  There was a regression in the Python 3.7.0 release that causes the 'vtkpython' executable to fail:<div><a href="https://gitlab.kitware.com/vtk/vtk/issues/17363">https://gitlab.kitware.com/vtk/vtk/issues/17363</a><br></div><div>I wasn't planning to move to Python 3.7 until Python 3.7.1 is released in a couple weeks.  Are you able to run the vtkpython.exe that you build?<br></div><div><br></div><div>The build problem you're reporting is probably unrelated to the use of 3.7, though. I'm just grasping at straws because I still haven't been able to reproduce your issue on my own system, and there really aren't any good clues as to what is going wrong.  My only guess is that something is causing vtkWrapPython.exe to return with a non-zero exit code, but without printing an error.  Alternatively, Windows is silently killing the vtkWrapPython.exe process for some reason.</div><div><br></div><div>I'm hoping that we'll hear from VS2017 users regarding whether they've succeeded/failed to build the Python wrappers.</div><div><br></div><div> - David</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 22, 2018 at 3:03 PM Andrew Maclean <<a href="mailto:andrew.amaclean@gmail.com">andrew.amaclean@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div class="gmail_default" style="font-size:small">David,</div><div class="gmail_default" style="font-size:small">  Just ran a build now. Both debug and release builds failed on both machines at:</div><div class="gmail_default">FAILED: Wrapping/Python/vtkInteractorStyle3DPython.cxx<br></div><div class="gmail_default">If I delete this file and rebuild then it will build OK, however wrapping may fail on another file.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The cmake cache for the debug build is attached along with the logs for the release and debug builds(VTK-*.zip). Also attached is the checkout log for VTK (VTK.zip).</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Regards</div><div class="gmail_default" style="font-size:small">   Andrew</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Sat, Sep 22, 2018 at 10:27 PM David Gobbi <<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Andrew,<div><br></div><div>I ran a VS2017 build and didn't see any errors.  Can you send me your cmake cache file?</div><div><br></div><div> - David</div></div><br><div class="gmail_quote"><div dir="ltr">On Fri, Sep 21, 2018 at 6:53 AM David Gobbi <<a href="mailto:david.gobbi@gmail.com" target="_blank">david.gobbi@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I've never seen this with VS2010 or VS2015, but I can try VS2017 this weekend.  Seems strange that there isn't any additional error text.  I also use ninja for building on Windows.<div><br></div><div> - David</div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Sep 20, 2018 at 11:26 PM Andrew Maclean <<a href="mailto:andrew.amaclean@gmail.com" target="_blank">andrew.amaclean@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div dir="ltr"><div style="font-size:small">This seems to be restricted to Windows and has been happening for a while.</div><div style="font-size:small"><br></div><div style="font-size:small">When building VTK (Release or Debug) the builds often stop with errors like this:</div><div style="font-size:small">------------------------</div><div>Wrapping\Python\CMakeFiles\vtkCommonCorePythonD.dir\vtkTypeUInt64ArrayPython.cxx.obj</div><div>[158/2588] Linking CXX shared library bin\vtkCommonCorePython37D-9.0.dll</div><div>   Creating library lib\vtkCommonCorePython37D-9.0.lib and object lib\vtkCommonCorePython37D-9.0.exp</div><div>[159/2587] Python Wrapping - generating vtkInitialValueProblemSolverPython.cxx</div><div>FAILED: Wrapping/Python/vtkInitialValueProblemSolverPython.cxx </div><div style="font-size:small">cmd.exe /C "cd /D </div><div style="font-size:small">------------------------ </div><div style="font-size:small"> Where "Wrapping/Python/vtkInitialValueProblemSolverPython.cxx" can be any other file name in the Wrapping/Python/ folder.<br></div><div style="font-size:small">I'm using VS2017 and Ninja and have tried running Ninja with a single thread to no avail. </div><div style="font-size:small"><br></div><div style="font-size:small">I see this issue on two windows machines and the only solution is to delete the offending file manually, run the build again, and if a a fail happens again, delete that file and rebuild.</div><div style="font-size:small"><br></div><div style="font-size:small">Any ideas?</div><div style="font-size:small"><br></div><div style="font-size:small">Regards</div><div style="font-size:small">   Andrew</div><div><br></div>-- <br><div dir="ltr" class="m_-7769869849404816095m_4229348174021210476m_-299994790990939383m_5176926119457814150gmail_signature">___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________</div></div></div>
</blockquote></div></div></div>
</blockquote></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="m_-7769869849404816095gmail_signature" data-smartmail="gmail_signature">___________________________________________<br>Andrew J. P. Maclean<br><br>___________________________________________</div>
</blockquote></div>