On 22 September 2015 at 09:55, Sergei Nikulov <sergey.niku...@gmail.com> wrote: > 2015-09-22 5:15 GMT+03:00 Baranov, Paul BIS > <paul.bara...@fs.utc.com>: >> I did as it was suggested in the resolution for the issue #396 by adding >> -DSOCI_ODBC_TEST_MSSQL_CONNSTR="FILEDSN=C:/Users/Paul/Documents/soci_test.dsn" >> to cmake command line and doing a clean build but this did not fix the >> original problem: >> > > What makes you think that it not solve you problem? > > cmake .. > -DSOCI_ODBC_TEST_MSSQL_CONNSTR="FILEDSN=C:/Users/Paul/Documents/soci_test.dsn" > > will set SOCI_ODBC_TEST_MSSQL_CONNSTR to specified DSN file. You'll > see it if run cmake from cmd console. > > Could you please run after build is completed > > ctest -R mssql
Also, you can run the test executable directly soci_odbc_test_mssql FILEDSN=C:/Users/Paul/Documents/soci_test.dsn BTW, Have you tried to tweak the soci_test.dsn and choose different driver? Have you tried to test your soci_test.dsn with alternative clients, perhaps simple Python+pyodbc? Best regards, -- Mateusz Loskot, http://mateusz.loskot.net ------------------------------------------------------------------------------ _______________________________________________ soci-users mailing list soci-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/soci-users