Thanks for replying! And I should have explained explicitly what I think is wrong:
1) It says that it cannot find the boost library and some features will be disabled. (This might not be a real problem. I don't intend on using the Boost Date-Time library, just the tuple library and maybe other header-only libraries) 2) It appears that it is unable to find the sqlite library and therefore has disabled it. This in fact is the database software I want to use. On Tue, Mar 26, 2013 at 4:47 AM, Mateusz Loskot <[email protected]> wrote: > I'm not seeing any errors. > What's the actual problem? > -- > Mateusz Loskot, http://mateusz.loskot.net > (Sent from mobile, apology for top-posting or broken quotes) > > On Mar 26, 2013 3:16 AM, "Deane Yang" <[email protected]> > wrote: >> >> What am I doing wrong? >> >> I am trying to build SOCI using the following command line: >> >> cmake -G "Visual Studio 10" -DWITH_BOOST=ON >> -DBOOST_RELEASE_VERSION=1.49.0 >> -DBOOST_INCLUDE_DIR=C:/Users/Deane/git/software/boost >> >> -DBOOST_LIBRARIES=C:/Users/Deane/git/software/boost/stage/lib/libboost_date_time-vc100-mt-1_49.lib >> -DWITH_SQLITE3=ON >> -DSQLITE3_INCLUDE_DIR=C:/Users/Deane/git/software/sqlite/include >> -DSQLITE3_LIBRARIES=C:/Users/Deane/git/software/sqlite/dll/sqlite3.lib >> -DWITH_MYSQL=OFF -DWITH_ODBC=OFF -DWITH_ORACLE=OFF >> -DWITH_POSTGRESQL=OFF ../soci-3.2.0 >> >> and I get the following: >> >> Welcome to Git (version 1.7.11-preview20120620) >> >> >> Run 'git help git' to display the help index. >> Run 'git help <command>' to display help for specific commands. >> -- The C compiler identification is MSVC 16.0.40219.1 >> -- The CXX compiler identification is MSVC 16.0.40219.1 >> -- Check for working C compiler using: Visual Studio 10 >> -- Check for working C compiler using: Visual Studio 10 -- works >> -- Detecting C compiler ABI info >> -- Detecting C compiler ABI info - done >> -- Check for working CXX compiler using: Visual Studio 10 >> -- Check for working CXX compiler using: Visual Studio 10 -- works >> -- Detecting CXX compiler ABI info >> -- Detecting CXX compiler ABI info - done >> -- Configuring SOCI: >> -- SOCI_VERSION = 3.2.0 >> -- SOCI_ABI_VERSION = 3_2 >> -- SOCI_PLATFORM_NAME = win32 >> -- SOCI_COMPILER_NAME = msvc-10.0 >> -- SOCI_STATIC = ON >> -- SOCI_TESTS = ON >> -- Looking for SOCI dependencies: >> -- Boost: >> -- WARNING: >> -- Boost not found, some libraries or features will be disabled. >> -- See the documentation for Boost or manually set these variables: >> -- BOOST_RELEASE_VERSION = 1.49.0 >> -- BOOST_INCLUDE_DIR = >> C:/Users/Deane/git/software/boost >> -- BOOST_LIBRARIES = >> C:/Users/Deane/git/software/boost/stage/lib >> -- MySQL: disabled, since WITH_MYSQL=OFF >> -- ODBC: disabled, since WITH_ODBC=OFF >> -- Oracle: disabled, since WITH_ORACLE=OFF >> -- PostgreSQL: disabled, since WITH_POSTGRESQL=OFF >> -- SQLite3: >> -- 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:/Users/Deane/git/software/sqlite/include >> -- SQLITE3_LIBRARIES = SQLITE3_LIBRARY-NOTFOUND >> -- Firebird: >> -- WARNING: >> -- Firebird not found, some libraries or features will be disabled. >> -- See the documentation for Firebird or manually set these variables: >> -- FIREBIRD_INCLUDE_DIR = >> FIREBIRD_INCLUDE_DIR-NOTFOUND >> -- FIREBIRD_LIBRARIES = FIREBIRD_LIBRARIES-NOTFOUND >> -- FIREBIRD_VERSION = >> -- DB2: >> -- WARNING: >> -- DB2 not found, some libraries or features will be disabled. >> -- See the documentation for DB2 or manually set these variables: >> -- DB2_INCLUDE_DIR = DB2_INCLUDE_DIR-NOTFOUND >> -- DB2_LIBRARIES = DB2_LIBRARY-NOTFOUND >> -- Configuring SOCI core library: >> -- Looking for include file pthread.h >> -- Looking for include file pthread.h - not found >> -- Found Threads: TRUE >> -- SOCI_CORE_TARGET = soci_core >> -- SOCI_CORE_TARGET_OUTPUT_NAME = soci_core_3_2 >> -- SOCI_CORE_DEPENDENCIES = >> -- WITH_BOOST = ON >> -- COMPILE_DEFINITIONS = SOCI_ABI_VERSION="3_2" >> _CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS >> _CRT_NONSTDC_NO_WARNING _SCL_SECURE_NO_WARNINGS >> SOCI_LIB_PREFIX="soci_" SOCI_LIB_SUFFIX=".dll" >> -- Configuring SOCI database backends: >> -- Empty - SOCI backend skeleton for development of new backends >> -- SOCI_EMPTY = ON >> -- SOCI_EMPTY_TARGET = soci_empty >> -- SOCI_EMPTY_TARGET_OUTPUT_NAME = soci_empty_3_2 >> -- SOCI_EMPTY_HEADERS = soci-empty.h >> -- COMPILE_DEFINITIONS = SOCI_ABI_VERSION="3_2" >> _CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS >> _CRT_NONSTDC_NO_WARNING _SCL_SECURE_NO_WARNINGS >> -- SOCI_EMPTY_TEST_CONNSTR = dummy >> -- >> -- Configuring done >> -- Generating done >> -- Build files have been written to: >> C:/Users/Deane/git/software/soci/build >> >> >> ------------------------------------------------------------------------------ >> Own the Future-Intel® Level Up Game Demo Contest 2013 >> Rise to greatness in Intel's independent game demo contest. >> Compete for recognition, cash, and the chance to get your game >> on Steam. $5K grand prize plus 10 genre and skill prizes. >> Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d >> _______________________________________________ >> soci-users mailing list >> [email protected] >> https://lists.sourceforge.net/lists/listinfo/soci-users ------------------------------------------------------------------------------ Own the Future-Intel® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d _______________________________________________ soci-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/soci-users
