FROM : Frederick C. Lee
DATE : Mon Apr 11 20:56:57 2005
Greetings:
I'm a neophyte trying to working with dynamic libraries imported
into my XCode project. Specifically, I'm trying to import
libshp.dylib that I had imported via DarwinPorts:
[/Users/Ric]ls /opt/local/lib/*shp*
/opt/local/lib/libshp.1.2.10.dylib /opt/local/lib/libshp.1.dylib@
/opt/local/lib/libshp.dylib@
1) I like to peer inside of a dylib to see what APIs are available and
hence how to incorporate it into my Obj-C Code (what do I #import ?)
2) How I can link the particular dylib into my project:
Do I merely set the LIBRARY_SEARCH_PATHS = /opt/local/lib {via
Build/Link option}?
I'm stuck here.
I have it set via the LIBRARY_SEARCH_PATHS and it compiles; but I don't
know what to use in the #import stmt nor how to peek inside the dylib
to see what's there to import.
Regards,
Ric.
DATE : Mon Apr 11 20:56:57 2005
Greetings:
I'm a neophyte trying to working with dynamic libraries imported
into my XCode project. Specifically, I'm trying to import
libshp.dylib that I had imported via DarwinPorts:
[/Users/Ric]ls /opt/local/lib/*shp*
/opt/local/lib/libshp.1.2.10.dylib /opt/local/lib/libshp.1.dylib@
/opt/local/lib/libshp.dylib@
1) I like to peer inside of a dylib to see what APIs are available and
hence how to incorporate it into my Obj-C Code (what do I #import ?)
2) How I can link the particular dylib into my project:
Do I merely set the LIBRARY_SEARCH_PATHS = /opt/local/lib {via
Build/Link option}?
I'm stuck here.
I have it set via the LIBRARY_SEARCH_PATHS and it compiles; but I don't
know what to use in the #import stmt nor how to peek inside the dylib
to see what's there to import.
Regards,
Ric.
| Related mails | Author | Date |
|---|---|---|
| Frederick C. Lee | Apr 11, 20:56 | |
| Mike Ferris | Apr 12, 16:39 |






Cocoa mail archive

