Okay, I started looking at the code in SQLite3 and noticed that this is already done for me.
Please have mercy on me, I am on the road and do not have access to my usual resources. What do I need to do to get Xcode to compile this code in 3.1.3? R, John > -----Original Message----- > From: sqlite-users-boun...@sqlite.org [mailto:sqlite-users-boun...@sqlite.org] > On Behalf Of john darnell > Sent: Monday, May 16, 2011 4:09 PM > To: General Discussion of SQLite Database > Subject: Re: [sqlite] Compiling in Xcode 3.1.3 > > Thanks again. > > I highlighted the file, clicked the information icon and then under the > "General" > category I changed the type of file from "sourcecode.c.c" to "sourcecode.c." > When pressing Command-K I get no errors but one warning: "Warning, no rule to > process sqlite3.c of type sourcecode.c for architecture i386" > > I am going to try this next: > > extern "C" { > #include "sqlite3.h" > } > > And see if that helps. > > -----Original Message----- > > From: sqlite-users-boun...@sqlite.org > > [mailto:sqlite-users-boun...@sqlite.org] > > On Behalf Of Richard Hipp > > Sent: Monday, May 16, 2011 3:45 PM > > To: General Discussion of SQLite Database > > Subject: Re: [sqlite] Compiling in Xcode 3.1.3 > > > > On Mon, May 16, 2011 at 4:31 PM, john darnell > > <john.darn...@walsworth.com>wrote: > > > > > Thanks for responding, Mr HIpp. > > > > > > There are 1265 errors in all, but most of them look very close to > > > something > > > like this: > > > > > > Invalid conversion from void * to XXX * > > > > > > Or > > > > > > forward declaration of struct_ht > > > > > > I thought it might be a pathing error (I had not added the path to the > > > directory where SQLite 3 is stored) but I did that and it didn't really > > > resolve anything. > > > > > > > SQLite is ANSI-C code. Sounds to me like you are trying to compile it as > > C++, or maybe Objective-C. > > > > > > > > > > R, > > > John > > > > > > > -----Original Message----- > > > > From: sqlite-users-boun...@sqlite.org [mailto: > > > sqlite-users-boun...@sqlite.org] > > > > On Behalf Of Richard Hipp > > > > Sent: Monday, May 16, 2011 3:19 PM > > > > To: General Discussion of SQLite Database > > > > Subject: Re: [sqlite] Compiling in Xcode 3.1.3 > > > > > > > > On Mon, May 16, 2011 at 4:01 PM, john darnell > > > > <john.darn...@walsworth.com>wrote: > > > > > > > > > I have code that compiles just fine using Visual Studio 8 on Windows > > > XP, > > > > > but when I port SQLite over to a Mac OSX (Snow Leopard) platform > > > using > > > > > Xcode 3.1.3 I get roughly 1000 errors based upon SQLite. Is there > > > something > > > > > I need to turn off/on when using SQLite on the Mac? > > > > > > > > > > > > > No. We compile SQLite on Macs with no problems. What are the errors? > > > > > > > > > > > > > > > > > > R, > > > > > John A.M. Darnell > > > > > Senior Programmer > > > > > Walsworth Publishing Company > > > > > Brookfield, MO > > > > > John may also be reached at johnamdarn...@gmail.com<mailto: > > > > > johnamdarn...@gmail.com> > > > > > > > > > > Trivia question Trivia question: In The Lord of the Rings,Leglolas > > > > > was > > > a > > > > > prince among the Silvan Elves. What was the name of his father the > > > King? > > > > > For extra credit, what was his surname? > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > > > > sqlite-users mailing list > > > > > sqlite-users@sqlite.org > > > > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > > > > > > > > > > > > > > > > > > > -- > > > > D. Richard Hipp > > > > d...@sqlite.org > > > > _______________________________________________ > > > > sqlite-users mailing list > > > > sqlite-users@sqlite.org > > > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > _______________________________________________ > > > sqlite-users mailing list > > > sqlite-users@sqlite.org > > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > > > > > > > > > > > -- > > D. Richard Hipp > > d...@sqlite.org > > _______________________________________________ > > sqlite-users mailing list > > sqlite-users@sqlite.org > > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > _______________________________________________ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users