Re: static sqlite
Re: static sqlite
- Subject: Re: static sqlite
- From: Fritz Anderson <email@hidden>
- Date: Tue, 6 Apr 2004 12:06:32 -0500
Here's what I did.
I built and installed sqlite, which put the library in /usr/local/lib
and the headers in /usr/local/include.
In Xcode, with my project window frontmost, I selected "Add Files..."
from the Project menu, typed /usr/local to start navigating to the
proper directory, and selected libsqlite.a. I checked "Copy items into
destination's group folder (if needed)", even though I don't think that
was really necessary. I then moved the libsqlite.a icon that appeared
in the file list down to the "Linked Frameworks" folder (also not
necessary, but tidy). That's all I had to do. The form of the file name
is enough to prompt Xcode to link it statically with the project.
I also had to take care of the headers. I selected my build target,
opened the info window on it, and in the Build settings added
/usr/local/include to the Header Search Paths.
It all works for me. Exactly what problems are you seeing?
-- F
On 6 Apr 2004, at 8:54 AM, Morphine wrote:
I don't know how to statically link sqlite to my project.
How to do with Xcode ?
I've copy "libsqlite.a" to my project and I do "add->Existing file..."
with "copy file" selected. Then I choose "static" in "Library syle"...
what's wrong ???
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.