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: leopard: No universal libjpeg.dylib in 10.4SDK?



thanks for your quick answer. i thought i'd have to do
that - i was just surprised that the universal 10.4SDK
supplied with the Xcode tools does contain non-fat libs.
would it be impudent to ask how much sense it makes to
call it _universal_ SDK then?


Bill Bumgarner schrieb:
On Jan 20, 2008, at 9:11 PM, Marc Lohse wrote:
I have recently bought a new iMac with leopard and moved
a small cocoa project that i had started in Xcode 2.4.1 on a
powerbook G4 running tiger to the new machine. Everything
looked fine in Xcode 3 and i could continue working on it.
Since i mainly wrote it for a friend with a powerbook i need
to build it as a universal binary - but my attempts to build
a release build on the iMac gave me this error:

[...]
ld: in /Developer/SDKs/MacOSX10.4u.sdk/usr/local/lib/libJPEG.dylib,
file is not of required architecture
[...]

the libjepeg is not a fat binary  - it does only contain i386 code
(checked it using 'file' and 'lipo -info'). Have i made some kind
of stupid mistake or does the 10.4 SDK on my machine really
lack a 'fat' version of this lib and if so where can i get it?

thanks in advance
marc

p.s.: the project settings say that it's a Xcode 2.4 compatible
project
and Cross-Develop using Target SDK: Mac OS X 10.4 (Universal)
...

[aalbbum:~] bbum% ls -alF /Developer/SDKs/MacOSX10.4u.sdk/usr/local/ total 8 drwxr-xr-x 3 root wheel 102 Oct 14 12:30 ./ drwxr-xr-x 8 root wheel 272 Mar 16 2007 ../ lrwxr-xr-x 1 root wheel 14 Oct 14 12:30 lib@ -> /usr/local/lib

You have a thin version of libJPEG.dylib installed in /usr/local/
lib.   That is your problem.  You likely need to rebuild the jpeg
library for both desired architectures.

(The library in question was not from Apple, btw.   The alternative is
to use the various APIs on the system that deal with JPEGs.)

b.bum

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden


--
---------------------------------------------------
Dr. Marc Lohse
Max-Planck-Institute of molecular Plant Physiology
Dept. Bock
Am Muehlenberg 1
14476 Potsdam-Golm

Tel.    : 0331-5678-313
e-mail  : email@hidden
---------------------------------------------------

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >leopard: No universal libjpeg.dylib in 10.4SDK? (From: Marc Lohse <email@hidden>)
 >Re: leopard: No universal libjpeg.dylib in 10.4SDK? (From: Bill Bumgarner <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.