|
From: Don A. <da...@do...> - 2005-06-15 03:12:26
|
Hi James, On Jun 14, 2005, at 9:34 PM, James W. Walker wrote: > On Jun 14, 2005, at 5:25 AM, Don Agro wrote: >>> Is anyone using the Mach-O library in a CW 8.3 Mach-O Project ? >>> When I try to link the Quesa v1.7 libQuesa.a into a CW 8.3 Mach-O >>> project I get link errors starting with... >> This does not surprise me. It"s generally a bad idea to use a >> static >> library containing C++ code unless you built that static library. >> There is a mismatch between the STL used to build the library and >> the >> STL that you use in your app. >>> If I try to use Quesa.framwork it compiles and links OK but crashes >>> in dylib when run. >> Now this ought to work (though I personally would not try to do >> Mach- >> o in CW 8). I personally don't have a choice - my application was developed in CW and one of the intermediate steps to get it into XCode is to convert it from Carbon CFM to Carbon Mach-O. Apple seems to think it is a worthwhile exercise since so many Macintosh applications have been written with CW... <http://developer.apple.com/tools/switchtoxcode.html> The entire thing compiles, links and runs - with the exception of Quesa. > Can you show us the relevant portion of the crash log? Sure... Including the OpenGL and AGL frameworks - no problem but as soon as I include the Quesa framework - it tanks. Date/Time: 2005-06-14 08:40:19.617 -0400 OS Version: 10.4.1 (Build 8B15) Report Version: 3 Command: MacLoggerDX Path: /Users/donagro/Documents/DogTools/MacLoggerDX Mach-O/Output/ MacLoggerDX.app/Contents/MacOS/MacLoggerDX Parent: WindowServer [95] Version: ??? (???) PID: 11186 Thread: Unknown Link (dyld) error: Library not loaded: @executable_path/../Frameworks/Quesa.framework/ Versions/A/Quesa Referenced from: /Users/donagro/Documents/DogTools/MacLoggerDX Mach-O/Output/MacLoggerDX.app/Contents/MacOS/MacLoggerDX Reason: Incompatible library version: MacLoggerDX requires version 1.6.0 or later, but Quesa provides version 1.0.0 > (And by the way, please join the mailing list so that your posts will > not require moderator approval.) I did - before I posted but the confirmation email I sent didn't take - had to send it again - and send my post again. Don Agro www: http://www.dogparksoftware.com |