• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: static sqlite
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


References: 
 >static sqlite (From: Morphine <email@hidden>)

  • Prev by Date: Re: Interface Builder Is Driving Me Nuts
  • Next by Date: Re: Lost IBOutlet.
  • Previous by thread: static sqlite
  • Next by thread: DVDPlayback.framework
  • Index(es):
    • Date
    • Thread