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 figured it out, so sorry for wasting anyone's time, here is what I needed
to do:

In the CW Preferences, in the "Source Tree" page, the single entry that is
there by default:

OS X Volume         /

...should be set to

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

Then, in the Project's System paths, if you have something like this:

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

...they need to be changed to be relative to "OS X Volume", such that they
look like:

{OS X Volume}usr/include
{OS X Volume}usr/lib
{OS X Volume}System/Library/Frameworks

That's all there was to it!

- 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.