On 16 November 2012 10:32, Mateusz Loskot <mate...@loskot.net> wrote:
> On 16 November 2012 09:58, Marc Thielbeer <marc.thielb...@googlemail.com>
> wrote:
>>
>> When using the parameters like in the documentation
>> http://soci.sourceforge.net/doc/installation.html I always get the following
>> error message:
>>
>> CMake Error at CMakeLists.txt:29 (soci_backend):
>>
>> Unknown CMake command "soci_backend".
>>
>> I am using Visual Studio 10 , Soci 3.1.0, CMake 2.8.10 and Postgresql 9.2 32
>> bit
>
> I haven't tested the 3.1.0 version for a while
OK, I've quickly tested the v3.1.0 and I still can not reproduce the problem.
Here is complete log with of all my steps:
https://gist.github.com/4086435
(The file is also attached, for the ml archive.)
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
#
# NOTE: There is no release/hotfix branch for SOCI 3.1.0 (yet)
#
D:\dev\_github\soci.gh\> git clone git://github.com/SOCI/soci.git
D:\dev\_github\soci.gh\soci [master]> git pull --tags
D:\dev\_github\soci.gh\soci [master]> git checkout v3.1.0
D:\dev\_github\soci.gh\soci [(0ecdbfa...)]> git co -b release-3.1.0
D:\dev\_github\soci.gh\soci [release-3.1.0]> cd .\src
D:\dev\_github\soci.gh\soci\src [release-3.1.0]> mkdir build
D:\dev\_github\soci.gh\soci\src [release-3.1.0]> cd .\build
D:\dev\_github\soci.gh\soci\src\build [release-3.1.0]> cmake ..
-- Building for: Visual Studio 10
-- 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.1.0
-- SOCI_ABI_VERSION = 3_1
-- SOCI_PLATFORM_NAME = win32
-- SOCI_COMPILER_NAME = msvc-10.0
-- SOCI_TESTS = ON
--
-- Looking for SOCI dependencies:
--
-- Boost:
-- Boost_RELEASE_VERSION = 1.51.0
-- Boost_INCLUDE_DIR = C:/Program Files
(x86)/boost/boost_1_51
-- Boost_LIBRARIES = C:/Program Files
(x86)/boost/boost_1_51/lib/libboost_date_time-vc100-mt-s-1_51.lib
--
-- MySQL:
-- WARNING:
-- MySQL not found, some libraries or features will be disabled.
-- See the documentation for MySQL or manually set these variables:
-- MYSQL_INCLUDE_DIR = MYSQL_INCLUDE_DIR-NOTFOUND
-- MYSQL_LIBRARIES = MYSQL_LIBRARY-NOTFOUND
--
-- ODBC:
-- WARNING:
-- ODBC not found, some libraries or features will be disabled.
-- See the documentation for ODBC or manually set these variables:
-- ODBC_INCLUDE_DIRECTORIES = ODBC_INCLUDE_DIRECTORIES-NOTFOUND
-- ODBC_LIBRARIES = C:/Program Files (x86)/Microsoft
SDKs/Windows/v7.0A/Lib/odbc32.lib
--
-- Oracle:
-- WARNING:
-- Oracle not found, some libraries or features will be disabled.
-- See the documentation for Oracle or manually set these variables:
-- ORACLE_INCLUDE_DIR =
-- ORACLE_LIBRARIES =
--
-- PostgreSQL:
-- POSTGRESQL_INCLUDE_DIR = C:/Program Files
(x86)/PostgreSQL/9.2/include
-- POSTGRESQL_LIBRARIES = C:/Program Files
(x86)/PostgreSQL/9.2/lib/libpq.lib
-- POSTGRESQL_VERSION = unknown
--
-- SQLite3:
-- Trying OSGeo4W using default location OSGEO4W_ROOT=c:/OSGeo4W
-- SQLITE3_INCLUDE_DIR = c:/OSGeo4W/include
-- SQLITE3_LIBRARIES = c:/OSGeo4W/lib/sqlite3_i.lib
--
-- 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_1
-- SOCI_CORE_DEPENDENCIES = C:/Program Files
(x86)/boost/boost_1_51/lib/libboost_date_time-vc100-mt-s-1_51.lib
-- WITH_BOOST = ON
-- COMPILE_DEFINITIONS = SOCI_ABI_VERSION="3_1"
_CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_WARNING
_SCL_SECURE_NO_WARNINGS DBUG_OFF 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_1
-- SOCI_EMPTY_HEADERS = soci-empty.h
-- COMPILE_DEFINITIONS = SOCI_ABI_VERSION="3_1"
_CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_WARNING
_SCL_SECURE_NO_WARNINGS DBUG_OFF HAVE_BOOST=1 HAVE_BOOST_DATE_TIME=1
-- SOCI_EMPTY_TEST_CONNSTR = dummy
--
-- MySQL - SOCI backend for MySQL database engine
-- WARNING:
-- Some required dependencies of MySQL backend not found:
-- MySQL
-- Skipping
-- SOCI_MYSQL = OFF
--
-- ODBC - SOCI backend for ODBC
-- WARNING:
-- Some required dependencies of ODBC backend not found:
-- ODBC
-- Skipping
-- SOCI_ODBC = OFF
--
-- Oracle - SOCI backend for Oracle 10+
-- WARNING:
-- Some required dependencies of Oracle backend not found:
-- Oracle
-- Skipping
-- SOCI_ORACLE = OFF
--
-- PostgreSQL - SOCI backend for PostgreSQL database engine
-- SOCI_POSTGRESQL = ON
-- SOCI_POSTGRESQL_TARGET = soci_postgresql
-- SOCI_POSTGRESQL_TARGET_OUTPUT_NAME = soci_postgresql_3_1
-- SOCI_POSTGRESQL_HEADERS = soci-postgresql.h common.h
-- COMPILE_DEFINITIONS = SOCI_ABI_VERSION="3_1"
_CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_WARNING
_SCL_SECURE_NO_WARNINGS DBUG_OFF HAVE_BOOST=1 HAVE_BOOST_DATE_TIME=1
HAVE_POSTGRESQL=1
-- SOCI_POSTGRESQL_TEST_CONNSTR = dummy
--
-- SQLite3 - SOCI backend for SQLite 3 database engine
-- SOCI_SQLITE3 = ON
-- SOCI_SQLITE3_TARGET = soci_sqlite3
-- SOCI_SQLITE3_TARGET_OUTPUT_NAME = soci_sqlite3_3_1
-- SOCI_SQLITE3_HEADERS = soci-sqlite3.h common.h
-- COMPILE_DEFINITIONS = SOCI_ABI_VERSION="3_1"
_CRT_SECURE_NO_DEPRECATE _CRT_SECURE_NO_WARNINGS _CRT_NONSTDC_NO_WARNING
_SCL_SECURE_NO_WARNINGS DBUG_OFF HAVE_BOOST=1 HAVE_BOOST_DATE_TIME=1
HAVE_SQLITE3=1
-- SOCI_SQLITE3_TEST_CONNSTR = soci_test.db
--
-- Configuring done
-- Generating done
-- Build files have been written to: D:/dev/_github/soci.gh/soci/src/build
------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
soci-users mailing list
soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users