[osg-users] osgViewer compile problem on OS X?

E. Wing ewmailing at gmail.com
Sat Jul 19 07:43:55 PDT 2008


Can anybody reproduce this problem? I am trying to build the current
OSG in the SVN trunk with the current CVS head of CMake.
GraphicsWindowCarbon.cpp is complaining it can't find certain Mac
system header files which is odd.

Thanks,
Eric


[ 40%] Building CXX object
src/osgViewer/CMakeFiles/osgViewer.dir/GraphicsWindowCarbon.cpp.o
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:119:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:125:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:129:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In function 'OSStatus
GraphicsWindowEventHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:75:
error: 'GetWindowPortBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:75:
error: 'InvalWindowRect' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:76:
error: 'GetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In constructor 'osgViewer::MenubarController::MenubarController()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:231:
error: 'DMGetGDeviceByDisplayID' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:232:
error: 'GetAvailableWindowPositioningBounds' was not declared in this
scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'void osgViewer::MenubarController::update()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:296:
error: 'GetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In constructor 'osgViewer::OSXCarbonWindowingSystemInterface::OSXCarbonWindowingSystemInterface()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:358:
error: 'GetApplicationEventTarget' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:359:
error: invalid conversion from 'OSErr (*)(const AppleEvent*,
AppleEvent*, long int)' to 'OSErr (*)(const AppleEvent*, AppleEvent*,
void*)'
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:359:
error:   initializing argument 1 of 'OSErr (*
NewAEEventHandlerUPP(OSErr (*)(const AppleEvent*, AppleEvent*,
void*)))(const AppleEvent*, AppleEvent*, void*)'
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual bool
osgViewer::GraphicsWindowCarbon::setWindowDecorationImplementation(bool)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:526:
error: 'GetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:530:
error: 'ChangeWindowAttributes' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:531:
error: 'SetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:535:
error: 'ChangeWindowAttributes' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:536:
error: 'SetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:553:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:553:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:554:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:554:
error: 'GetWindowPort' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'void
osgViewer::GraphicsWindowCarbon::installEventHandler()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:604:
error: 'GetWindowEventTarget' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual bool
osgViewer::GraphicsWindowCarbon::realizeImplementation()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:641:
error: 'CreateNewWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:655:
error: 'GetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:692:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:692:
error: 'GetWindowPort' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:693:
error: 'ShowWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:718:
error: 'InitCursor' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::closeImplementation()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:771:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:771:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:777:
error: 'DisposeWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'bool
osgViewer::GraphicsWindowCarbon::handleMouseEvent(OpaqueEventRef*)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:823:
error: 'FindWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:825:
error: 'IsWindowActive' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:958:
error: 'typeLongInteger' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:984:
error: 'typeLongInteger' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'bool
osgViewer::GraphicsWindowCarbon::handleKeyboardEvent(OpaqueEventRef*)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1016:
error: cannot convert 'UInt32*' to 'ByteCount*' for argument '6' to
'OSStatus GetEventParameter(OpaqueEventRef*, EventParamName,
EventParamType, EventParamType*, ByteCount, ByteCount*, void*)'
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::checkEvents()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1120:
error: 'FindWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1123:
error: 'MenuSelect' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1124:
error: 'HiliteMenu' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1141:
error: 'ConvertEventRefToEventRecord' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual bool
osgViewer::GraphicsWindowCarbon::setWindowRectangleImplementation(int,
int, int, int)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1165:
error: 'SetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::grabFocus()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1173:
error: 'SelectWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::setCursor(osgViewer::GraphicsWindow::MouseCursor)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1222:
error: 'HideCursor' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1246:
error: 'SetThemeCursor' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1247:
error: 'ShowCursor' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::setWindowName(const std::string&)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1257:
error: 'SetWindowTitleWithCFString' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:119:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:125:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:129:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In function 'OSStatus
GraphicsWindowEventHandler(OpaqueEventHandlerCallRef*,
OpaqueEventRef*, void*)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:75:
error: 'GetWindowPortBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:75:
error: 'InvalWindowRect' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:76:
error: 'GetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:119:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:125:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In constructor 'osgViewer::MenubarController::MenubarController()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:231:
error: 'DMGetGDeviceByDisplayID' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:232:
error: 'GetAvailableWindowPositioningBounds' was not declared in this
scope
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:129:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'void osgViewer::MenubarController::update()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:296:
error: 'GetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In constructor 'osgViewer::OSXCarbonWindowingSystemInterface::OSXCarbonWindowingSystemInterface()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:358:
error: 'GetApplicationEventTarget' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:359:
error: invalid conversion from 'OSErr (*)(const AppleEvent*,
AppleEvent*, long int)' to 'OSErr (*)(const AppleEvent*, AppleEvent*,
void*)'
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:359:
error:   initializing argument 1 of 'OSErr (*
NewAEEventHandlerUPP(OSErr (*)(const AppleEvent*, AppleEvent*,
void*)))(const AppleEvent*, AppleEvent*, void*)'
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:119:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:125:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/include/osgViewer/api/Carbon/GraphicsWindowCarbon:129:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual bool
osgViewer::GraphicsWindowCarbon::setWindowDecorationImplementation(bool)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:526:
error: 'GetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:530:
error: 'ChangeWindowAttributes' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:531:
error: 'SetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:535:
error: 'ChangeWindowAttributes' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:536:
error: 'SetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:553:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:553:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:554:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:554:
error: 'GetWindowPort' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'void
osgViewer::GraphicsWindowCarbon::installEventHandler()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:604:
error: 'GetWindowEventTarget' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual bool
osgViewer::GraphicsWindowCarbon::realizeImplementation()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:641:
error: 'CreateNewWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:655:
error: 'GetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:692:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:692:
error: 'GetWindowPort' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:693:
error: 'ShowWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:718:
error: 'InitCursor' was not declared in this
scope/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In constructor 'osgViewer::MenubarController::MenubarController()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:231:
warning: 'DMGetGDeviceByDisplayID' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h:1177)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:231:
warning: 'DMGetGDeviceByDisplayID' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h:1177)

/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::closeImplementation()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:771:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:771:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:777:
error: 'DisposeWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'bool
osgViewer::GraphicsWindowCarbon::handleMouseEvent(OpaqueEventRef*)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:823:
error: 'FindWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:825:
error: 'IsWindowActive' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:958:
error: 'typeLongInteger' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:984:
error: 'typeLongInteger' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'bool
osgViewer::GraphicsWindowCarbon::handleKeyboardEvent(OpaqueEventRef*)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1016:
error: cannot convert 'UInt32*' to 'ByteCount*' for argument '6' to
'OSStatus GetEventParameter(OpaqueEventRef*, EventParamName,
EventParamType, EventParamType*, ByteCount, ByteCount*, void*)'
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::checkEvents()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1120:
error: 'FindWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1123:
error: 'MenuSelect' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1124:
error: 'HiliteMenu' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1141:
error: 'ConvertEventRefToEventRecord' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual bool
osgViewer::GraphicsWindowCarbon::setWindowRectangleImplementation(int,
int, int, int)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1165:
error: 'SetWindowBounds' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::grabFocus()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1173:
error: 'SelectWindow' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In constructor 'osgViewer::MenubarController::MenubarController()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:231:
warning: 'DMGetGDeviceByDisplayID' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h:1177)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::setCursor(osgViewer::GraphicsWindow::MouseCursor)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1222:
error: 'HideCursor' was not declared in this
scope/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:231:
warning: 'DMGetGDeviceByDisplayID' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/ApplicationServices.framework/Frameworks/QD.framework/Headers/Displays.h:1177)

/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1246:
error: 'SetThemeCursor' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1247:
error: 'ShowCursor' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::setWindowName(const std::string&)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:1257:
error: 'SetWindowTitleWithCFString' was not declared in this scope
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual bool
osgViewer::GraphicsWindowCarbon::setWindowDecorationImplementation(bool)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:553:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:553:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:554:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:554:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual bool
osgViewer::GraphicsWindowCarbon::realizeImplementation()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:692:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:692:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::closeImplementation()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:771:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual bool
osgViewer::GraphicsWindowCarbon::setWindowDecorationImplementation(bool)':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:553:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)

/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:553:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:771:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)

/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:554:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:554:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual bool
osgViewer::GraphicsWindowCarbon::realizeImplementation()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'AGLDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:61)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:689:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:692:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:692:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:
In member function 'virtual void
osgViewer::GraphicsWindowCarbon::closeImplementation()':
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:771:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
/Users/ewing/Source/SVN/OpenSceneGraph/src/osgViewer/GraphicsWindowCarbon.cpp:771:
warning: 'aglSetDrawable' is deprecated (declared at
/Developer/SDKs/MacOSX10.5.sdk/System/Library/Frameworks/AGL.framework/Headers/agl.h:322)
lipo: can't figure out the architecture type of:
/var/folders/2U/2UKScoX7FZqu13laRmlxAU+++TI/-Tmp-//ccjK3oZ7.out
make[2]: *** [src/osgViewer/CMakeFiles/osgViewer.dir/GraphicsWindowCarbon.cpp.o]
Error 1
make[1]: *** [src/osgViewer/CMakeFiles/osgViewer.dir/all] Error 2
make: *** [all] Error 2



More information about the osg-users mailing list