[font="Lucida Grande"][color="#333333"]I'm trying to compile on my mac (osx lion / 10.7) one older application coded in 10.5/carbon in 10.7 and I'm getting following errors:[/font]
GngGLWindow_OSX.cpp:206: error: 'KeyTranslate' was not declared in this scope
GngGLWindow_OSX.cpp: At global scope:
GngGLWindow_OSX.cpp:214: warning: unused parameter 'myHandler'
GngGLWindow_OSX.cpp: In function 'void handleMouseEvents(OpaqueEventHandlerCallRef*, OpaqueEventRef*, GngGLWindow*)':
GngGLWindow_OSX.cpp:289: error: 'GetWindowBounds' was not declared in this scope
GngGLWindow_OSX.cpp:328: error: 'typeLongInteger' was not declared in this scope
GngGLWindow_OSX.cpp: In function 'OSStatus winEvtHndlr(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*)':
GngGLWindow_OSX.cpp:446: error: 'kEventWindowDrawContent' was not declared in this scope
GngGLWindow_OSX.cpp:457: error: 'FrontWindow' was not declared in this scope
[color="#333333"]I figured out that most of these functions are out from 10.6 SDK. Is there some translation table where I can see what are the new functions? Also please where can I get SDK manual?
[color="#333333"]any help more than appreciated.