• 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: How to link libraries found in /usr/lib/
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to link libraries found in /usr/lib/


  • Subject: Re: How to link libraries found in /usr/lib/
  • From: Sherm Pendley <email@hidden>
  • Date: Sun, 1 Aug 2004 23:56:50 -0400

On Aug 1, 2004, at 8:47 PM, Matt Jaffa wrote:

In my Cocoa project I am trying to link in libraries found in /usr/lib but they can't be selected when I try to link in a framework, since /usr is a hidden folder. How would I go about this.

Three ways I can think of:

1. Use Finder's "Go to Folder..." function to go to /usr/lib, and drag the library to your project.

2. Create a symbolic link in your home directory that points to /usr/lib. That will let you navigate to it.

3. Add the traditional linker flags - i.e. if you want to use libz.dylib, add '-lz' to the linker options.

sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >How to link libraries found in /usr/lib/ (From: Matt Jaffa <email@hidden>)

  • Prev by Date: Re: How to link libraries found in /usr/lib/
  • Next by Date: hanging on NSUserDefaults setValue:forKey
  • Previous by thread: Re: How to link libraries found in /usr/lib/
  • Next by thread: hanging on NSUserDefaults setValue:forKey
  • Index(es):
    • Date
    • Thread