[vtkusers] Build VTK 5.8 with TCL wrap on on MacOS X 10.6.7
Rick Frank
rickfrank at me.com
Thu Oct 27 11:35:11 EDT 2011
Hi
Thanks for the help...
Rick-Development-MacBook:bin rfrank$ tclsh
% info patchlevel
8.5.7
%
/Developer/SDKs/MacOSX10.6.sdk
when you say "Apple's " tcl package, is that different from ActiveState's?
Where do I get Apple's tcl, or was / is it installed in 10.6?
My original run of CMake said that there was no TCL/TK installed...
On Oct 27, 2011, at 11:04 AM, David Gobbi wrote:
> 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