Hi everyone, 

I'm trying to use SOCI with sqlite3 and a C++ application and I'm running into 
problems right from the start! Though, they are probably just plain ol' user 
error. 

The documentation for the backend says to use the following:
BackEndFactory const &backEnd = SQLite3;
Session sql(backEnd, "database_filename");

or

Session sql(SQLite3, "database_filename");

I've included "soci.h" and "soci-sqlite3.h", but the compiler doesn't know what 
SQLite3
is. I went to the documentation from the CVS download, and the name had been 
changed to 
sqlite3. 

I changed that, and yet, I'm still getting compiler errors regarding the 
definition of 
sqlite3.  I've grepped BackEnd and there is nothing named that anywhere, so, 
I'm not 
entirely sure where this definition would even be coming from. Can anyone give 
me a 
clue as to what I'm doing wrong? I'd really like to use this, in case we want 
to 
switch to MySQL or Postgres for certain situations...and this looks to be the 
best 
option for smoothly switching.

Thanks!

eric


_________________________________________________________________
Windows Liveā„¢: Keep your life in sync.
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_allup_1a_explore_042009
------------------------------------------------------------------------------
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to