[vtkusers] OSX 10.6 TCL issue "libvtkRendering.5.4.dylib: GC capability mismatch" ( solution too )
David Gobbi
david.gobbi at gmail.com
Wed Mar 3 11:34:28 EST 2010
For OS X 10.6, set CMAKE_OSX_ARCHITECTURES to x86_64 and do a Cocoa
build. This will match the Snow Leopard "wish", which is
Cocoa/x86_64. This only works for cvs VTK... my fixes to the
vtkTkRenderRenderWidget to get it working with Cocoa are fairly
recent.
David
On Wed, Mar 3, 2010 at 9:06 AM, Bradley Lowekamp <blowekamp at mail.nih.gov> wrote:
> Hello David,
> My initial post below just got my non-gui script working (which was all I
> needed yesterday). But as you know it didn't work with my GUI ones!
> What is the recommended way to build with TCL support, now?
> Carbon vs Cocoa?
> 32vs64?
> Carbon is only 32bit (but its was what was needed for TkRenderWidget), but
> the wish executable was running as 64, producing library incompatibilities.
> I ended up have to do something like the following:
> arch -i386
> /System/Library/Frameworks/Tk.framework/Versions/8.5/Resources/Wish.app/Contents/MacOS/Wish
>
> Thanks!
> Brad
> On Mar 3, 2010, at 10:43 AM, David Gobbi wrote:
>
> Hi Brad,
>
> The VTK 5.4/OS X 10.6 combination is known to have many problems, most
> if not all of which have been fixed in cvs. These include a boatload
> of fixes specifically for Tk, as well as link fixes to the
> CMakeLists.txt. Can you try VTK cvs on your system and report whether
> you are still seeing the problems that you describe below? There will
> be a VTK 5.6 release in (hopefully) the next few weeks that will
> include all the OS X 10.6 fixes.
>
> David
More information about the vtkusers
mailing list