Re: libPng is not univeral?
Re: libPng is not univeral?
- Subject: Re: libPng is not univeral?
- From: "Adam R. Maxwell" <email@hidden>
- Date: Mon, 29 Oct 2007 14:23:52 -0800
On Monday, October 29, 2007, at 12:34PM, "Rick Mann" <email@hidden> wrote:
>On Oct 29, 2007, at 12:48 PM, Peter O'Gorman wrote:
>
>> The /usr/local/lib in /Developer/SDKs/MacOSX10.4u.sdk on my leopard
>> system is empty. Do you have a libPng.dylib in yours?
>
>Actually, I'm even more puzzled as I look into this. My app uses .png
>files, but it doesn't call libpng directly. It uses Carbon and CG
>exclusively. Nano's libNano.a project does NOT link against any
>libraries. My own app links against only the following Frameworks:
>
>Accelerate
>Carbon
>Cocoa
>QuickTime
>Security
>SystemConfiguration
>WebKit
>
>Unfortunately, I just don't know enough about Xcode/GCC to figure out:
>
>a) why libpng is being pulled in
>b) why I don't have a "proper" libpng (if it's really necessary).
I reported the same problem to Apple a few months ago. I think it's related to the ImageIO framework, which contains libPng (and libJPEG and libTIFF, all sadly without headers); I have various ppc-only libraries in /usr/local/lib for various open source tools I use, including libpng. IIRC there's a linker flag you can use to avoid pulling in /usr/local/lib, or you just have to use the 10.5 SDK, where these libraries have some magic that avoids the link error.
hth,
Adam
_______________________________________________
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