|
|
#1 |
|
Prospect
Join Date: Oct 2006
Posts: 2
|
Compiling Framework
Hi,
I am new to this and trying to compile a framework using XCode 2.3 on OSX 10.4.8. When I compile, I get the following errors and warnings. Can anyone please help on how to correct this or know where I can get help? Do the warnings need to be dealt with or just the errors? Google doesn't seem to be much help on the errors. Checking Dependencies (1 warning) warning: The Mac OS X 10.2.8 SDK does not support ZeroLink; disabling it Linking (2 errors, 2 warnings) warning can't open dynamic library: /Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/libgcc_s.1.dylib referenced from:...(checking for undefined symbols may be affected) (No such file or directory, errno = 2) warning prebinding disabled because dependent library: /Developer/SDKs/MacOSX10.2.8.sdk/usr/lib/libgcc_s.1.dylib can't be searched Undefined symbols: _fegetround referenced from libSystem expected to be defined in /usr/lib/system/libmathCommon.A.dylib /usr/bin/libtool: internal link edit command failed |
|
|
|
|
|
#2 |
|
All Star
Join Date: Jan 2002
Location: CO, USA
Posts: 908
|
If you truly need to build for 10.2.8 (or any version prior to 10.3.9) you can't use gcc4 for compiling. See, for example, How to: Compile an application for 10.2 (or 10.3) using Xcode 2.1.
Also, Apple's Xcode users list may be a good resource for this. |
|
|
|
|
|
#3 |
|
Prospect
Join Date: Oct 2006
Posts: 2
|
Thanks,
In the project info>build screen, I changed GCC_VERSION to 3.3, set the framework to 10.2.8 and changed the architecture to ppc from current. Changing the architecture is the one thing that tutorial leaves out. One other question: The developer says to use the 10.2.8 Dev kit to build the code. If I wanted to build it for Universal, I would have to change a lot fo the coding, right? Any documentation on something like that? |
|
|
|
|
|
#4 | |||||||||||||||||||||||
|
Site Admin
Join Date: Jan 2002
Location: Montreal
Posts: 31,941
|
Giyf
Try this: http://www.google.com/search?q=unive...oper.apple.com
__________________
hayne.net/macosx.html |
|||||||||||||||||||||||
|
|
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|