Re: how to make c++ calls from cocoa to a dynamic library
Re: how to make c++ calls from cocoa to a dynamic library
- Subject: Re: how to make c++ calls from cocoa to a dynamic library
- From: Pascal Pochet <email@hidden>
- Date: Sun, 15 Jan 2006 09:14:03 +0100
Le 15-janv.-06 à 03:33, William Irving Zumwalt a écrit :
I'm trying to add a dynamic lib that I built in a separate project. It
was built as a 'BSD Dynamic Library' and I now have a file called
libmine.dylib. I'm running xcode 2.2
I want to add it to my cocoa project so I did an 'Add existing file'
from the resources group and I now see a libmine.dylib under my
resources group. Then I get this error when trying to build my app.
JamToolExecution MyProject (1 error)
Command /Developer/Private/jam faild with exit code 1
Linking /Users/me/Projects/MyProject/build/Development/MyProj.app
can't locate file for: -lmine
Build failed (1 error)
Anyone tell me if I've added this library to my project correctly, or
how to make my project see the dynlib?
Any help/links/advice much appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
Probably a missing -LPATH_TO_LIBRARY directive
if the libmine.dylib is not a "standard" folder (like /usr/lib/ etc)
Pascal Pochet
email@hidden
----------------------------------
PGP
KeyID: 0x208C5DBF
Fingerprint: 9BFB 245C 5BFE 7F1D 64B7 C473 ABB3 4E83 208C 5DBF
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden