On 23 September 2015 at 02:05, Baranov, Paul BIS <paul.bara...@fs.utc.com> wrote: > Getting closer :) Below is the log of the commands that you suggested (a > minor detail: I changes the default db name in my .dsn file from history to > main): > > Commands: > cmake .. > -DSOCI_ODBC_TEST_MSSQL_CONNSTR="FILEDSN=C:/Users/Paul/Documents/soci_test.dsn" > > out1 2>&1 > ctest -R mssql >> out1 2>&1 > > Log: > -- Configuring SOCI: > ... > -- Configuring done > CMake Warning (dev) in src/backends/odbc/CMakeLists.txt: > Policy CMP0021 is not set: Fatal error on relative paths in > INCLUDE_DIRECTORIES target property. Run "cmake --help-policy CMP0021" for > policy details. Use the cmake_policy command to set the policy and > suppress this warning. > > Found relative path while evaluating include directories of > "soci_odbc_static": > > "$(ODBC_LIBS)/../Include" > > This warning is for project developers. Use -Wno-dev to suppress it.
I'm not sure what is happening here, no means to check it now, but will have to look. > Test project C:/Prg/soci-master/build.msvc > Start 3: soci_odbc_test_mssql > 1/2 Test #3: soci_odbc_test_mssql .............***Failed 5.22 sec > Start 4: soci_odbc_test_mssql_static > 2/2 Test #4: soci_odbc_test_mssql_static ......***Failed 5.72 sec > > 0% tests passed, 2 tests failed out of 2 > > Total Test time (real) = 10.96 sec > > The following tests FAILED: > 3 - soci_odbc_test_mssql (Failed) > 4 - soci_odbc_test_mssql_static (Failed) > Errors while running CTest Something did not execute correctly. There should be log file with more details as well. Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ------------------------------------------------------------------------------ Monitor Your Dynamic Infrastructure at Any Scale With Datadog! Get real-time metrics from all of your servers, apps and tools in one place. SourceForge users - Click here to start your Free Trial of Datadog now! http://pubads.g.doubleclick.net/gampad/clk?id=241902991&iu=/4140 _______________________________________________ soci-users mailing list soci-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/soci-users