Ticket #18886 (closed defect: duplicate)
vtk5, tcl, cocoa, and x11 troubles
|Reported by:||jjstickel@…||Owned by:||macports-tickets@…|
Description (last modified by ryandesign@…) (diff)
This is a bit convoluted, but please bear with me. First of all, vtk5+x11 (using macports x11 libs) produces a bus error for me on Tiger when I try to run any VTK program (c++ compiled or wrapped script). I think this is due to mixed use of macports x11 libraries with apple opengl. It works OK if I use apple X11, but I have not figured out how to force that using macports.
Next I tried using cocoa rendering (-x11). However the tcl wrapping of vtk using cocoa does not support all features, most notably interaction. Please see:
The solution is to use x11 for both tcl/tk and vtk, but as noted above this fails on Tiger.
Luckily, python and cocoa rendering seem to work fine together.
- I have provided a patch to the portfile that provides a tcl variant. Since tcl does not fully work without x11, I think this is useful.
- Perhaps the x11 variant should be forced, or at least recommended, if the tcl variant is selected.
- I would appreciate any help getting x11 rendering to work on Tiger.