Re: How to add shared lib to PB?
Re: How to add shared lib to PB?
- Subject: Re: How to add shared lib to PB?
- From: Finlay Dobbie <email@hidden>
- Date: Tue, 12 Jun 2001 20:54:19 +0100
On Tuesday, June 12, 2001, at 07:44 pm, Todd Blanchard wrote:
I've got an opensource shared library that builds and installs in
/usr/local/lib/foo.dylib
I want to use it in an application or framework
I can't for the life of me figure out how to:
1) Add the library to my project as something to link against
add -lfoo to some of the target flags (OTHER_CFLAGS?) in build settings.
2) Browse to /usr using the Finder or standard file selector
i don't think you can.
3) Add the files in /usr/local/include/foo as header files to use in PB
/usr/local/include/foo.h:
#include <foo.h>
/usr/local/include/foo/bar.h:
#include <foo/bar.h>
(I think).
You might need to add /usr/local/include and/usr/local/lib to the
appropriate search directories, but I don't think so.
-- Finlay