[vtkusers] Build VTK 5.8 with TCL wrap on on MacOS X 10.6.7
David Gobbi
david.gobbi at gmail.com
Thu Oct 27 11:04:19 EDT 2011
On Thu, Oct 27, 2011 at 8:53 AM, Sean McBride <sean at rogue-research.com> wrote:
> On Wed, 26 Oct 2011 17:04:50 -0400, Rick Frank said:
>
>>When I try to build VTK 5.8 with TCK wrap on I get the following error:
>>
>>../VTK.5.8/Rendering/vtkCocoaTkUtilities.mm: error: Semantic Issue: No
>>member named 'view' in 'TkWindowPrivate'
>>
>>
>>Did I miss some other setting?
>
> I'm not at all sure, but you might try building with VTK's Carbon option instead of the default Cocoa option. I think the TCL stuff uses Carbon.
Apple's Tcl package switched over to Cocoa in OS X 10.6. Likewise,
VTK switched its vtkTkRenderWidget over to Cocoa in VTK 5.6. I know,
because I was the one who made the changes.
Most likely, Frank is either using the OS X 10.5 SDK, or is using the
Tk 8.4 framework. On Snow Leopard, the Tk 8.5 framework should be
used, and VTK_USE_COCOA should be On.
- David
More information about the vtkusers
mailing list