Re: problems compiling Xcode 2.4.1 project in 2.5/3.1
Re: problems compiling Xcode 2.4.1 project in 2.5/3.1
- Subject: Re: problems compiling Xcode 2.4.1 project in 2.5/3.1
- From: "Martin Redington" <email@hidden>
- Date: Sat, 19 Apr 2008 02:29:03 +0100
Looks like RBSplitView had defined SDKROOT_i386 and SDKROOT_ppc to
point at /Developer/...
I've repointed these and the SDK path's to point at the appropriate
/Xcode2.5/SDKs directories, and the Metrowerks related errors have
gone ...
On Sat, Apr 19, 2008 at 1:21 AM, Martin Redington
<email@hidden> wrote:
> I've just recently switched to a Leopard machine from Tiger. I've
> installed the latest Xcode update (the one with iPhone support), as
> well as Xcode 2.5
>
> I just installed the Xcode's, with all optional installed enabled, but
> haven't tried to tweak anything, so these are essentially stock
> installs.
>
> I'm having trouble with an RBSplitView subproject that compiled
> without error on Tiger/2.4
>
> On Xcode 2.5, I get a bunch of errors similar to the following:
>
> In file included from
> /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFBase.h:13,
> from
> /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:8,
> from
> /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:7,
> from
> /Developer/SDKs/MacOSX10.3.9.sdk/System/Library/Frameworks/Cocoa.framework/Headers/Cocoa.h:12,
> from
> /Users/martin/Documents/MMI/Silverback/Silverback/RBSplitView/Source/RBSplitView_Prefix.pch:6:
> /Developer/SDKs/MacOSX10.3.9.sdk/usr/include/stdbool.h:8:2: error:
> #error "This header only supports __MWERKS__."
>
> with 3.1, I don't get those errors, but the SoundFlower subproject
> fails to compile, with an error around the following lines:
>
> #ifdef __ppc__
> AbsoluteTime time;
> #else
> uint64_t time;
> #endif
>
> clock_get_uptime(&time);
> /Users/martin/Documents/MMI/Silverback/Silverback/SoundFlower/SoundflowerEngine.cpp:590:
> error: cannot convert `AbsoluteTime*' to `uint64_t*' for argument `1'
> to `void clock_get_uptime(uint64_t*)'
>
> absolutetime_to_nanoseconds(time, &nextTime);
> /Users/martin/Documents/MMI/Silverback/Silverback/SoundFlower/SoundflowerEngine.cpp:591:
> error: cannot convert `AbsoluteTime' to `long long unsigned int' for
> argument `1' to `void absolutetime_to_nanoseconds(long long unsigned
> int, uint64_t*)'
>
> I had hoped that the project would compile without errors on
> Leopard/2.5, and maybe with some new warnings on Leopard/3.1, so this
> is a bit disappointing.
>
> Am I missing something obvious?
>
>
>
> --
> http://www.mildmanneredindustries.com/
>
--
http://www.mildmanneredindustries.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden