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: David P Henderson <email@hidden>
- Date: Tue, 12 Jun 2001 21:10:14 -0400
On Tuesday, June 12, 2001, at 02:44 , Todd Blanchard wrote:
1) Add the library to my project as something to link against
Use the Add Files... or Add Frameworks... command and type in the path
to the lib or directory containing the lib you want to link or use the
-lfoo mechanism with the OTHER_CFLAGS variable in Build Settings. You
may need to add the path to the lib under Build Settings -> Search
Paths -> Libraries if it isn't in a standard place.
2) Browse to /usr using the Finder or standard file selector
Use the Go To Folder command in the Go menu in the Finder and type in
the full path to the directory you want to browse. 2 notes about this,
Finder can't resolve symlinks and root and one off root directories seem
to be verboten for browsing.
3) Add the files in /usr/local/include/foo as header files to use in PB
Use the Add Files... command and type in the path to the header
directory select the folder s and/or files you want to include make sure
to uncheck the copy if needed box or add the path under Build
Settings -> Search Paths -> Headers
Dave
--
Chaos Assembly Werks
"The Trend over the last 20 years or so has been to design computer
languages that enforce a state of paranoia. You're expected to program
every module as if it were in a state of siege In Perl culture, by
contrast, you're expected to stay out of someone's home because you
weren't invited in, not because there are bars on the windows."
from Programming Perl