[vtk-developers] Mac OS X Build failure

Sean McBride sean at rogue-research.com
Thu Feb 28 12:29:59 EST 2013


Lots of Carbon is actually available in 64 bit, including, from a quick look, all the below.  (But getting off Carbon is still a very good idea.)

Sean



On Tue, 26 Feb 2013 15:03:20 -0700, David Gobbi said:

>Yeah, that's what I was wondering: whether the symbols were
>from Carbon itself, or from a Core library.  Most of them are
>Carbon.  Very strange, especially for a 64-bit build.
>
> - David
>
>On Tue, Feb 26, 2013 at 2:53 PM, Goodwin Lawlor
><goodwin.lawlor.lists at gmail.com> wrote:
>> Tk8.6
>>
>> Here's the error message when "-framework Carbon" is omitted. Strange for a
>> couple of reasons - I set VTK_USE_COCOA and at least the symbol
>> AEProcessAppleEvent seems to be from the CoreServices framework.
>>
>> Undefined symbols for architecture x86_64:
>>
>>   "_AEProcessAppleEvent", referenced from:
>>
>>       _TkMacOSXDoHLEvent in libtk8.6.a(tkMacOSXHLEvents.o)
>>
>>   "_GetCurrentButtonState", referenced from:
>>
>>       _TkpWarpPointer in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>       _TkMacOSXButtonKeyState in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>   "_GetCurrentEvent", referenced from:
>>
>>       _TkMacOSXModifierState in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>       _TkpWarpPointer in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>       _TkMacOSXButtonKeyState in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>   "_GetCurrentEventButtonState", referenced from:
>>
>>       _TkpWarpPointer in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>       _TkMacOSXButtonKeyState in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>   "_GetCurrentEventKeyModifiers", referenced from:
>>
>>       _TkMacOSXModifierState in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>       _TkMacOSXButtonKeyState in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>       -[TKApplication(TKMenus) orderFrontStandardAboutPanel:] in
>> libtk8.6.a(tkMacOSXMenus.o)
>>
>>   "_GetCurrentKeyModifiers", referenced from:
>>
>>       _TkMacOSXModifierState in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>       _TkMacOSXButtonKeyState in libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>   "_GetEventParameter", referenced from:
>>
>>       -[TKApplication(TKMouseEvent) tkProcessMouseEvent:] in
>> libtk8.6.a(tkMacOSXMouseEvent.o)
>>
>>   "_GetMainEventQueue", referenced from:
>>
>>       _Tk_MacOSXSetupTkNotifier in libtk8.6.a(tkMacOSXNotify.o)
>>
>>       _TkMacOSXNotifyExitHandler in libtk8.6.a(tkMacOSXNotify.o)
>>
>>   "_GetThemeMenuItemExtra", referenced from:
>>
>>       _TkpMenuInit in libtk8.6.a(tkMacOSXMenu.o)
>>
>>   "_GetThemeMenuSeparatorHeight", referenced from:
>>
>>       _TkpMenuInit in libtk8.6.a(tkMacOSXMenu.o)
>>
>>   "_GetThemeMetric", referenced from:
>>
>>       _TkpMenuInit in libtk8.6.a(tkMacOSXMenu.o)
>>
>>       _UpdateScrollbarMetrics in libtk8.6.a(tkMacOSXScrlbr.o)
>>
>>       _ButtonElementSize in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       _SpinButtonElementSize in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       _DisclosureElementSize in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       _ButtonElementSizeNoPadding in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       _TrackElementSize in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       ...
>>
>>   "_HIThemeApplyBackground", referenced from:
>>
>>       _TkMacOSXSetColorInContext in libtk8.6.a(tkMacOSXColor.o)
>>
>>   "_HIThemeBrushCreateCGColor", referenced from:
>>
>>       _GetThemeColor in libtk8.6.a(tkMacOSXColor.o)
>>
>>   "_HIThemeDrawButton", referenced from:
>>
>>       _TkpDrawSpinboxButtons in libtk8.6.a(tkMacOSXEntry.o)
>>
>>       _ButtonElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       _SpinButtonElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       _ComboboxElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       _DisclosureElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       _TreeHeaderElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeDrawFrame", referenced from:
>>
>>       _TkpDrawEntryBorderAndFocus in libtk8.6.a(tkMacOSXEntry.o)
>>
>>       _EntryElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeDrawGroupBox", referenced from:
>>
>>       _GroupElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeDrawGrowBox", referenced from:
>>
>>       _SizegripElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeDrawSeparator", referenced from:
>>
>>       _SeparatorElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeDrawTab", referenced from:
>>
>>       _TabElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeDrawTabPane", referenced from:
>>
>>       _PaneElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeDrawTrack", referenced from:
>>
>>       _TrackElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       _PbarElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeGetButtonContentBounds", referenced from:
>>
>>       _ButtonElementSize in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeGetGrowBoxBounds", referenced from:
>>
>>       _SizegripElementSize in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeGetTrackDragRect", referenced from:
>>
>>       _UpdateScrollbarMetrics in libtk8.6.a(tkMacOSXScrlbr.o)
>>
>>   "_HIThemeGetUIFontType", referenced from:
>>
>>       _TkpFontPkgInit in libtk8.6.a(tkMacOSXFont.o)
>>
>>       _TkpGetNativeFont in libtk8.6.a(tkMacOSXFont.o)
>>
>>   "_HIThemeSetFill", referenced from:
>>
>>       _TkMacOSXSetColorInContext in libtk8.6.a(tkMacOSXColor.o)
>>
>>       _FillElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>       _ToolbarBackgroundElementDraw in libtk8.6.a(ttkMacOSXTheme.o)
>>
>>   "_HIThemeSetStroke", referenced from:
>>
>>       _TkMacOSXSetColorInContext in libtk8.6.a(tkMacOSXColor.o)
>>
>>   "_HIThemeSetTextFill", referenced from:
>>
>>       _TkMacOSXSetColorInContext in libtk8.6.a(tkMacOSXColor.o)
>>
>>   "_LMGetKbdType", referenced from:
>>
>>       _XKeycodeToKeysym in libtk8.6.a(tkMacOSXKeyboard.o)
>>
>>   "_TISCopyCurrentKeyboardLayoutInputSource", referenced from:
>>
>>       _XKeycodeToKeysym in libtk8.6.a(tkMacOSXKeyboard.o)
>>
>>   "_TISGetInputSourceProperty", referenced from:
>>
>>       _XKeycodeToKeysym in libtk8.6.a(tkMacOSXKeyboard.o)
>>
>>   "_kTISPropertyUnicodeKeyLayoutData", referenced from:
>>
>>       _XKeycodeToKeysym in libtk8.6.a(tkMacOSXKeyboard.o)





More information about the vtk-developers mailing list