[vtk-developers] Python Wrapping fails in master build.

David Gobbi david.gobbi at gmail.com
Wed Sep 26 10:48:08 EDT 2018

On Wed, Sep 26, 2018 at 8:03 AM Brad King <brad.king at kitware.com> wrote:

> One could instead write to a temporary/random file name and then
> rename when finished.  CMake generates most of its files that way.

Thanks for the advice (and for taking the time to read this thread.)  This
be the ultimate solution, though I still want to do some digging to see what
what magic cl.exe itself uses to avoid this AV interference.

For now, though, I'll put together a patch that prints the value of errno
fopen() fails.  I'll probably print the result of GetLastError() too, since
this is
a Windows issue.  Hopefully Andrew will be able to see those and report on

Andras, you used to see similar errors with cmake when it was configuring,
so I have to ask, have you seen vtkWrapPython itself fail this way?  I'm
trying to get a feel for how widespread this issue is.

 - David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/vtk-developers/attachments/20180926/a85b47e0/attachment.html>

More information about the vtk-developers mailing list