On 11 May 2012 15:48, Mohamed Haitam Laarabi
<[email protected]> wrote:
> I'm using, VS C++ 10 and Boost, So:
> cmake -G "Visual Studio 10" -DWITH_BOOST=ON -DSOCI_TESTS=ON -DWITH_ODBC=ON
> -DSOCI_ODBC_TEST_?_CONNSTR="DSN=.."

Try to run simply:

cmake -G "Visual Studio 10" -DWITH_BOOST=ON -DWITH_ODBC=ON

and check if ODBC is detected.

> And how about : ODBC_INCLUDE_DIRECTORIES + ODBC_LIBRARIES

To build with VS on Windows, you shouldn't need to specify these two vars.

Best regards,
-- 
Mateusz Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to