Re: How to link libraries found in /usr/lib/
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.