I'm sure this is very easy but I'm trying to get the fmdb sqlite wrapper to work in an iPhone project. I've grabbed the files via SVN, and there are 'h' and 'm' files inside an 'src' folder.
I'd assumed that if I right-click the Classes folder and select Add > Existing Files... that would work.
But when I try to compile I get an error about 'duplicate symbol main'. If I uncheck the 'add to targets' box the error goes away but the class doesn't work until I do an include and an error comes back.
Am I totally importing incorrectly?
(The app will involve searching a table of Japanese with many many rows so I'd prefer to stick to sqlite to do it).