[vtkusers] wxPython+Cocoa+VTK?

Scott Harris scottrharris at gmail.com
Fri Dec 3 19:58:35 EST 2010


Is this combination supposed to work?

I've installed VTK 5.6.1 (64 bit, cocoa, wrap python) and wxPython 2.9.1.1 with the system Python 2.6.1 in OS X 10.6 and when I run:

python wxVTKRenderWindow.py

I get the renderer in a separate window from the wx.Frame. It fails with the following error and sometimes a seg fault.

Warning: In /Users/scott/Documents/VTKStuff/VTK/Rendering/vtkCocoaRenderWindow.h, line 112
vtkCocoaRenderWindow (0x10306da60): SetNextWindowInfo not implemented (WindowRemap not implemented).

Warning: In /Users/scott/Documents/VTKStuff/VTK/Rendering/vtkCocoaRenderWindow.mm, line 944
vtkCocoaRenderWindow (0x10306da60): Can't remap the window.

Any ideas?

Should I move to 32 bits, Carbon, and wxPython for Carbon?

What I would really like is PyObjC+Cocoa+VTK, but I haven't been able to get that combination to work since OS X 10.4.

Thanks,
-Scott






More information about the vtkusers mailing list