In order to compile with sqlite, you must set the the location of the sqlite3.lib file, not the dll.
C. On Sun, Aug 21, 2011 at 1:32 PM, Dinesh SOCI <[email protected]>wrote: > Hi All, > > I tried to compile SOCI with SQLite enabled on windows using cmake. > When I run the CMake Command it is not enabling SQLite, instead it is > telling that the SQLite Lib not found. > > The command I have issued is > cmake -G "Visual Studio 10" -DWITH_BOOST=OFF -DWITH_ORACLE=OFF > -DWITH_SQLITE3=ON -DSOCI_SQLITE3=ON > -DSQLITE3_INCLUDE_DIR=C:\sw\soci\sociL\SOCI\SQLite > -DSQLITE3_LIBRARIES=C:\sw\soci\sociL\SOCI\SQLite\sqlite3.dll ..\src > > -- SQLite3: > -- Trying OSGeo4W using default location OSGEO4W_ROOT=c:/OSGeo4W > -- WARNING: > -- SQLite3 not found, some libraries or features will be disabled. > -- See the documentation for SQLite3 or manually set these variables: > -- SQLITE3_INCLUDE_DIR = C:/sw/SOCI/sociL/SOCI/SQLite > -- SQLITE3_LIBRARIES = SQLITE3_LIBRARY-NOTFOUND > > -- SQLite3 > -- Skipping > -- SOCI_SQLITE3 = OFF > -- > > Could you please provide me some suggestion for generating cmake for > SOCI+SQLite > > Thank you > Dinesh > > > ------------------------------------------------------------------------------ > Get a FREE DOWNLOAD! and learn more about uberSVN rich system, > user administration capabilities and model configuration. Take > the hassle out of deploying and managing Subversion and the > tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 > _______________________________________________ > Soci-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/soci-users > > -- Claudio Bantaloukas http://www.rdfm.org/ammuzzu/
------------------------------------------------------------------------------ Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2
_______________________________________________ Soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
