Deane Yang
2013-03-26 03:15:48 UTC
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
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
-- Configuring done
-- Generating done
-- Build files have been written to: C:/Users/Deane/git/software/soci/build