Re: Using zlib for i386 (or Universal) builds on PPC clients
Re: Using zlib for i386 (or Universal) builds on PPC clients
- Subject: Re: Using zlib for i386 (or Universal) builds on PPC clients
- From: Chris Hanson <email@hidden>
- Date: Mon, 13 Feb 2006 08:13:25 -0800
On Feb 12, 2006, at 10:05 PM, David Chan wrote:
Oh I just found out now that this undefined symbol thing has
nothing to do
with the universal binary code, but it occurs whenever i turn off the
zerolink. How can I properly link to zlib.h actually? Thanks a lot..
You can't; zlib.h is just a header file that declares the interface
to a library. You need to link against the library itself. You can
do this by adding /usr/lib/libz.dylib to your target, or by adding "-
lz" to the "Other Linker Flags" build setting in your target's
configurations.
-- Chris
_______________________________________________
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