• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: zlib and cross development
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: zlib and cross development


  • Subject: Re: zlib and cross development
  • From: Chris Espinosa <email@hidden>
  • Date: Sun, 24 Jul 2005 09:20:15 -0700

On Jul 24, 2005, at 8:39 AM, Alexey Proskuryakov wrote:

I have no idea how to solve this. -lz.1.2.2 looks like libz, seeing as I'm using libz version 1.2.2.

The 1.2.2 version of zlib is only shipped with Tiger (and since a security bugfix 1.2.3 was released several days ago, one could expect the version number bumped in OS X soon, too). For compatibility, link with /usr/lib/libz.1.dylib (which is a symlink pointing to the most recent version of zlib present in the SDK).

And make sure to add that symlink to the project with drag-and-drop from the Finder.


• In the Finder, choose Go to Folder
• Type /usr/lib
• TYpe-select to find libz.1.dylib
• Drag that into your project's Groups and Files

If you try to choose libz.1.dylib (or any other symlink) with the Add FIles... menu item, the NSOpenPanel that lets you choose the symlink "helpfully" resolves the symlink before handing it back to Xcode. If you drag-and-drop, Xcode gets the symlink itself.

The NEXT_ROOT warning is annoying but harmless, and it's a byproduct of our transition from environment-variable-based SDK support to command-line-flag-based SDK support.

Chris
_______________________________________________
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


References: 
 >zlib and cross development (From: "Theodore H. Smith" <email@hidden>)
 >Re: zlib and cross development (From: "Alexey Proskuryakov" <email@hidden>)

  • Prev by Date: Re: zlib and cross development
  • Next by Date: Indexer and preprocessor symbols
  • Previous by thread: Re: zlib and cross development
  • Next by thread: Indexer and preprocessor symbols
  • Index(es):
    • Date
    • Thread