• 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 add shared lib to PB?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How to add shared lib to PB? (From: Todd Blanchard <email@hidden>)

  • Prev by Date: Kernel Framework missing?
  • Next by Date: Newbie question: Scaling images
  • Previous by thread: How to add shared lib to PB?
  • Next by thread: Re: How to add shared lib to PB?
  • Index(es):
    • Date
    • Thread