how to make c++ calls from cocoa to a dynamic library
how to make c++ calls from cocoa to a dynamic library
- Subject: how to make c++ calls from cocoa to a dynamic library
- From: William Irving Zumwalt <email@hidden>
- Date: Sat, 14 Jan 2006 20:33:30 -0600
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:
This email sent to email@hidden