Creating Universal Binary - Screen Saver
Creating Universal Binary - Screen Saver
- Subject: Creating Universal Binary - Screen Saver
- From: David Wilson <email@hidden>
- Date: Thu, 12 Jan 2006 22:23:09 +1300
Hello list people...
I have attempted to recompile my screen saver with the universal
binary option checked. The compile fails with the errors listed
below. Have I lost the plot here?
I've also changed the deployment target to 10.4 hoping that might
make a difference...
I'm running 10.4.4, Xcode 2.2, on an eMac.
- David
Building target “LogoSaver” of project “LogoSaver” — (1 error, 4
warnings)
cd /Users/dgwilson/Programming/LogoSaver
/usr/bin/gcc-4.0 -o /Users/dgwilson/Programming/LogoSaver/build/
LogoSaver.build/Deployment/LogoSaver.build/Objects-normal/i386/
LogoSaver -L/Users/dgwilson/Programming/LogoSaver/build/Deployment -F/
Users/dgwilson/Programming/LogoSaver/build/Deployment -filelist /
Users/dgwilson/Programming/LogoSaver/build/LogoSaver.build/Deployment/
LogoSaver.build/Objects-normal/i386/LogoSaver.LinkFileList -framework
Cocoa -framework ScreenSaver -arch i386 -bundle -mmacosx-version-
min=10.4
/usr/bin/ld: warning /System/Library/Frameworks/Cocoa.framework/Cocoa
cputype (18, architecture ppc) does not match cputype (7) for
specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning /System/Library/Frameworks/ScreenSaver.framework/
ScreenSaver cputype (18, architecture ppc) does not match cputype (7)
for specified -arch flag: i386 (file not loaded)
/usr/bin/ld: warning fat file: /usr/lib/gcc/i686-apple-
darwin8/4.0.1/../../../libSystem.dylib does not contain an
architecture that matches the specified -arch flag: i386 (file ignored)
/usr/bin/ld: warning fat file: /usr/lib/libSystem.B.dylib does not
contain an architecture that matches the specified -arch flag: i386
(file ignored)
/usr/bin/ld: Undefined symbols:
.objc_class_name_NSAffineTransform
.objc_class_name_NSAutoreleasePool
.objc_class_name_NSBitmapImageRep
.objc_class_name_NSBundle
.objc_class_name_NSColor
.objc_class_name_NSFont
.objc_class_name_NSFontManager
.objc_class_name_NSFontPanel
.objc_class_name_NSImage
.objc_class_name_NSIndexSet
.objc_class_name_NSMutableArray
.objc_class_name_NSMutableAttributedString
.objc_class_name_NSMutableDictionary
.objc_class_name_NSOpenPanel
.objc_class_name_NSString
.objc_class_name_NSTimer
.objc_class_name_ScreenSaverDefaults
.objc_class_name_ScreenSaverView
_NSApp
_NSFontAttributeName
_NSForegroundColorAttributeName
_NSLog
_NSZeroPoint
_NSZeroRect
___CFConstantStringClassReference
_floorf
_objc_msgSend
_objc_msgSendSuper
_objc_msgSend_fpret
_objc_msgSend_stret
_random
.objc_class_name_NSObject
collect2: ld returned 1 exit status
[some text deleted]
Build failed (1 error, 4 warnings) _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden