On 26 mai 2011, at 16:49, john darnell wrote: > Hello everyone. > > I am still trying to get SQLite to work on my Mac. I want to make sure I am > doing what I should be doing. Here are the steps I have taken: > > 1.) I downloaded and uncompressed sqlite-autoconf-3070602.tar.gz from > the SQLite download page. > 2.) I moved SQLite3.c and SQLite3.h into my source folder and added them > to the project. I made no changes to the code nor did I do anything special > when I added them to my project (i.e. I did not set any special compile > flags-I simply added the two files to the project). > 3.) I compiled and received 1200+ errors. > > Since then I have tried using the sqlite.dylib file that comes with OSX but > in doing so, some important SQLite functions (such as the prepare function) > were not found during the link process.
This shouldn't happen. My app links just fine. You must add "libsqlite3.dylib" to the "Link binary with libraries" section of the "Build Phases" pane of your target settings. Jean-Denis _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users