Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CodeWarrior/Leopard Quandary (point at 10.4 sdk?)



on 11/26/07 12:09 PM, Jesper Papmehl-Dufay at email@hidden
wrote:

> Have you tried setting the "Mac OS X Volume" to, say, the 10.3.9 SDK?
> 
> The last few years that I used CodeWarrior, I never used the
> "real" (current) /usr/include and /System/Library/Frameworks
> directories, but always the ones from a SDK one or two OS releases
> older than the current one.
> If you are using only Mac OS X Volume-relative paths (and no absolute
> paths) in you target search paths, just changing Mac OS X Volume in
> the CodeWarrior prefs should be enough.
> 
> I successfully compiled a CodeWarrior project for a non-bundled CFM
> app under Leopard the other day, using the 10.2 SDK (which I custom-
> installed using the Xcode 2.5 installer).


How exactly do you do this?

I have an app that I have been building successfully with CW9.6 on 10.4.11.
I just moved the project and apps over to a 10.5.2 machine. I cannot compile
because it is using the wrong headers etc.

I installed Xcode 2.5 first. It went into a folder named Xcode 2.5 on the
root (not the usual Developer folder). CW said that the "Developer Tools
could not be located".

So I then installed Xcode 3.0, which went into the usual Developer folder.
CW sees the developer tools now, but obviously is looking in the wrong
branch.

How do I point CW9.6 at the 10.4 SDK exactly (which is in the Xcode 2.5
folder)? I read the instructions above, but I'm a bit lost.

Do you mean that in the CW Preferences, in the "Source Tree" page, that the
single entry I have which is:

OS X Volume         /

...should be set to

OS X Volume         /XCode2.5/SDKs/MacOSX10.4u.sdk

I tried this and it still isn't working, same errors...

In my Project System paths I have mostly {Compiler} relative paths, except I
have:

/usr/include
/usr/lib
/System/Library/Frameworks

Would those need to be changed?


Here's an example error:

Error   : ';' expected
(included from:
 csignal:20
 signal.h:17
 CoreFoundation/CoreFoundation.h:21
 CarbonCore/CarbonCore.h:20
 AE/AE.h:20
 CoreServices/CoreServices.h:21
 Carbon/Carbon.h:20
 PP_MacHeadersMach-O.c:16
 PP_ClassHeaders.cp:11
 PP_DebugHeaders.cp:10
 KARMA_DebugMach-OHeaders.h:45
 KCORE_App_OSX_M3_Debug.pch++:52)
csignal_mach.h line 38      typedef __darwin_stack_t stack_t;


__darwin_stack_t is not defined, it's obviously in the 10.4 sdk.

Thanks for any help, I'm in desperate need of getting this working by
tomorrow!

- Stephen

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Stephen Kay
Karma-Lab :: developers of KARMA
http://www.karma-lab.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=



 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.