Hello,
First I'll give some background so that you understand my migration span and (limited) knowledge and experience here. All of my MacOS development has been restricted to CodeWarrior MacOS Classic CFM libraries for plugin development. The application for which I develop plugins has recently moved to Universal Binary and therefore I need to migrate my Classic (OS9) plugins over to UB dylib in XCode. Quite a jump.
One of my plugins accesses Mac Resources to extract PICT data using CarbonLib and MSL_C_Carbon.lib in CodeWarrior. Now that I am migrating to XCode, I have no idea how to convert whatever to compile/link the project. After some hunting, it appears that I need to include "Carbon.h" in the class that does the resource access and the Carbon.framework. But I still get undefined symbols on link:
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
__ZdlPviPKc
__ZdaPviPKc
_CloseResFile
_FSClose
_FSMakeFSSpec
_FSWrite
_FSpCreate
_FSpOpenDF
_FSpOpenResFile
_Get1Resource
_GetHandleSize
_HLock
_HNoPurge
_HPurge
_HUnlock
_ReleaseResource
/usr/bin/libtool: internal link edit command failed
Being a complete novice at XCode and MacOSX development, basically, help!!
What else is needed? I'll provide whatever information required.
ETA: This is C++ and, no, I cannot convert the CW code to Mach-O and test and then convert the CW project (obviously). Mr. Apple Developer needs to address people converting NON-Apps from CodeWarrior to XCode. Not everyone is developing MacOSX applications. Yep, some of us are developing plugins, static libraries, and they aren't all running strictly in MacOSX before transitioning.
Thank you!
Robert
First I'll give some background so that you understand my migration span and (limited) knowledge and experience here. All of my MacOS development has been restricted to CodeWarrior MacOS Classic CFM libraries for plugin development. The application for which I develop plugins has recently moved to Universal Binary and therefore I need to migrate my Classic (OS9) plugins over to UB dylib in XCode. Quite a jump.
One of my plugins accesses Mac Resources to extract PICT data using CarbonLib and MSL_C_Carbon.lib in CodeWarrior. Now that I am migrating to XCode, I have no idea how to convert whatever to compile/link the project. After some hunting, it appears that I need to include "Carbon.h" in the class that does the resource access and the Carbon.framework. But I still get undefined symbols on link:
ld: warning prebinding disabled because of undefined symbols
ld: Undefined symbols:
__ZdlPviPKc
__ZdaPviPKc
_CloseResFile
_FSClose
_FSMakeFSSpec
_FSWrite
_FSpCreate
_FSpOpenDF
_FSpOpenResFile
_Get1Resource
_GetHandleSize
_HLock
_HNoPurge
_HPurge
_HUnlock
_ReleaseResource
/usr/bin/libtool: internal link edit command failed
Being a complete novice at XCode and MacOSX development, basically, help!!
What else is needed? I'll provide whatever information required.
ETA: This is C++ and, no, I cannot convert the CW code to Mach-O and test and then convert the CW project (obviously). Mr. Apple Developer needs to address people converting NON-Apps from CodeWarrior to XCode. Not everyone is developing MacOSX applications. Yep, some of us are developing plugins, static libraries, and they aren't all running strictly in MacOSX before transitioning.
Thank you!
Robert