Hi all-

I am reinstalling SOCI . I ran into a little problem. Please check out the
error message and please let me know if you can see where I am going
wrong...I am building with Cygwin 64 bit. It always gives me troubles with
can't find firebird libraries. It is because of the .lib files. Last time
though the other core files got built and linked though. I am using a newer
version of cmake that said test but I don't think that is the problem.
THX!. roboloki.

from /home/username/soci-master/build

cmake -G "Unix Makefiles" -DWITH_BOOST=OFF -DWITH_ORACLE=OFF \
-DWITH_POSTGRESQL=OFF -DWITH_MYSQL=OFF -DWITH_ODBC=OFF \
-DWITH_SQLITE3=OFF -DWITH_DB2=OFF -DSOCI_CXX_C11=TRUE \
-DWITH_BOOST=OFF -DWITH_FIREBIRD=TRUE \
-DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc.exe    \
-DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++.exe   \
-DFIREBIRD_INCLUDE_DIR="C:/Program Files/Firebird/Firebird_3_0/include" \
-DFIREBIRD_LIBRARIES= "C:/Program Files/Firebird/Firebird_3_0/fbclient.dll"
\
-DSOCI_FIREBIRD_TEST_CONNSTR="service=127.0.0.1:C:/Program
Files/Firebird/Firebird_3_0/examples/empbuild/EMPLOYEE.FDB user=SYSDBA
password="mypassword"  \
/home/username/soci-master

-- Configuring SOCI:
-- SOCI_VERSION                             = 4.0.0
-- SOCI_ABI_VERSION                         = 4.0
-- SOCI_SHARED                              = ON
-- SOCI_STATIC                              = ON
-- SOCI_TESTS                               = ON
-- SOCI_ASAN                                = OFF
-- SOCI_CXX_C11                             = TRUE
-- LIB_SUFFIX                               = 64
-- Looking for SOCI dependencies:
-- Threads:
-- CMAKE_THREAD_LIBS_INIT                   =
-- Boost: disabled, since WITH_BOOST=OFF
-- 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: disabled, since WITH_SQLITE3=OFF
-- Firebird:
-- SOCI_FIREBIRD_EMBEDDED                   = OFF
-- WARNING: Firebird libraries not found, some features will be disabled.
-- DB2: disabled, since WITH_DB2=OFF
-- Configuring SOCI core library:
-- SOCI_CORE_TARGET                         = soci_core
-- SOCI_CORE_TARGET_OUTPUT_NAME             = soci_core
-- SOCI_CORE_DEPS_LIBS                      =
-- SOCI_CORE_INCLUDE_DIRS                   =
/home/apophis/soci-master/build /home/apophis/soci-master/include
/home/apophis/soci-master/build/include
/home/apophis/soci-master/include/private
/home/apophis/soci-master/build/src/core
-- WITH_BOOST                               = OFF
-- COMPILE_DEFINITIONS                      = SOCI_ABI_VERSION="4.0"
SOCI_LIB_PREFIX="cygsoci_" SOCI_LIB_SUFFIX=".dll" SOCI_DEBUG_POSTFIX=""
--
-- Configuring SOCI backend libraries:
-- Empty - SOCI backend skeleton for new backends development
-- SOCI_EMPTY                               = ON
-- SOCI_EMPTY_TARGET                        = soci_empty
-- SOCI_EMPTY_OUTPUT_NAME                   = soci_empty
-- SOCI_EMPTY_COMPILE_DEFINITIONS           = SOCI_ABI_VERSION="4.0"
-- SOCI_EMPTY_INCLUDE_DIRECTORIES           =
/home/username/soci-master/build /home/apophis/soci-master/include
/home/apophis/soci-master/build/include
/home/apophis/soci-master/include/private
/home/username/soci-master/include/private
--
-- Configuring SOCI tests:
-- SOCI_EMPTY_TEST_CONNSTR                  = dummy
-- MS Access test disabled on non-Windows platform
-- ODBC DB2 test disabled.
--
-- Configuring done
-- Generating done
-- Build files have been written to: /home/username/soci-master/build


[ 25%] Building CXX object
src/core/CMakeFiles/soci_core_static.dir/soci-simple.cpp.o
[ 26%] Building CXX object
src/core/CMakeFiles/soci_core_static.dir/statement.cpp.o
[ 27%] Building CXX object
src/core/CMakeFiles/soci_core_static.dir/transaction.cpp.o
[ 29%] Building CXX object
src/core/CMakeFiles/soci_core_static.dir/use-type.cpp.o
[ 30%] Building CXX object
src/core/CMakeFiles/soci_core_static.dir/values.cpp.o
[ 32%] Linking CXX static library ../../lib/libsoci_core.a
Error running link command: No such file or directory




<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Virus-free.
www.avg.com
<http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
_______________________________________________
soci-users mailing list
soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to