Re: How do I include a library in my program
Re: How do I include a library in my program
- Subject: Re: How do I include a library in my program
- From: "James B. Tuley" <email@hidden>
- Date: Wed, 3 Nov 2004 22:13:06 -0600
On Oct 31, 2004, at 10:19 AM, April Gendill wrote:
Ok,
I think I might be asking the wrong questions.
I have built a dynamic library. It's designed to handle several
things I find myself using over and over in applications. Anyway, I do
not know how to include a library in my project. Or at least I think
thats the problem. I thought it would pretty much be like including a
framework but I was wrong. I put the library in the project folder and
add it to the project. When I build the project though I am told that
the file for -lcommons is not found. In the project info window or the
target info window what do I need to add, if anything? Or do I need to
add a copy files phase? I guess what I need to know is how to include
a dynamic library in a program.
It does work like a framework, and if you want to embed it in your
bundle using a copy copy phase you do need to make sure it has an
install path of @executable...yada yada, which is a little tricker than
a framework
There's a nice write up at:
http://qin.laya.com/tech_coding_help/dylib_linking.html
-Jay
http://indyjt.com
_______________________________________________
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