Cross Development SDK problem
Cross Development SDK problem
- Subject: Cross Development SDK problem
- From: Aurélien Hugelé <email@hidden>
- Date: Tue, 18 May 2004 10:37:25 +0200
hello,
i have a native xcode project that run on 10.3
i want to make the binary 10.2 compatible (i only used 10.2 APIs...)
i RTFM, set the project to build against 10.2.8 SDK, i flagged my
targets with "Mac OS Deployment target" to "Mac OS X 10.2" as described
in the doc. I never used umbrella frameworks with absolute pathes
i cleaned everything
When building, the precompiling of Carbon.h immediatly exit because
there are errors in the HIToolbox :
ProcessPCH
/Users/aure/Sources/MyProgramV1.1/MyProgram/build/MyProgram.build/
SharedCaches/Carbon-bknuqhzxupfwkqadbmjoaqlmhpmq/Carbon.h.gch
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h normal ppc
objective-c com.apple.compilers.gcc.3_3
setenv MACOSX_DEPLOYMENT_TARGET 10.2
setenv NEXT_ROOT /Developer/SDKs/MacOSX10.2.8.sdk
cd /Users/aure/Sources/MyProgramV1.1/MyProgram
/usr/bin/gcc-3.3 -x objective-c-header -arch ppc -pipe
-Wno-trigraphs -fasm-blocks -fpascal-strings -g -Os -mtune=G4
-Wno-four-char-constants -Wmost -fmessage-length=0
-F/Users/aure/Sources/MyProgramV1.1/MyProgram/build
-I/Users/aure/Sources/MyProgramV1.1/MyProgram/build/include -isystem
/Developer/SDKs/MacOSX10.2.8.sdk/usr/include
-I/Users/aure/Sources/MyProgramV1.1/MyProgram/build/MyProgram.build/
GumiPod.build/DerivedSources
-Wp,-header-mapfile,/Users/aure/Sources/MyProgramV1.1/MyProgram/build/
MyProgram.build/GumiPod.build/iPod.hmap -D _GUMI_EXCEPTION_CATCHER_ -c
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h -o
/Users/aure/Sources/MyProgramV1.1/MyProgram/build/MyProgram.build/
SharedCaches/Carbon-bknuqhzxupfwkqadbmjoaqlmhpmq/Carbon.h.gch
In file included from
/System/Library/Frameworks/Carbon.framework/Frameworks/
HIToolbox.framework/Headers/Controls.h:44,
from
/System/Library/Frameworks/Carbon.framework/Frameworks/
HIToolbox.framework/Headers/HIView.h:20,
from
/System/Library/Frameworks/Carbon.framework/Frameworks/
HIToolbox.framework/Headers/HIToolbox.h:33,
from
/System/Library/Frameworks/Carbon.framework/Headers/Carbon.h:29:
/System/Library/Frameworks/Carbon.framework/Frameworks/
HIToolbox.framework/Headers/Drag.h:743: error: parse error before
"inPasteboard"
/System/Library/Frameworks/Carbon.framework/Frameworks/
HIToolbox.framework/Headers/Drag.h:779: error: parse error before
"PasteboardRef"
Of course i have the same type of errors with AppKit.h etc... because
using 10.2.8 SDK when precompiling the 10.3 headers is not what i was
expecting...
does anybody know what did i do wrong ?
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.