Hi,

I am having some issues getting SOCI to locate the ODBC lib files even
after specifying a value for ODBC_LIBRARIES.  Here is my cmake command:

cmake -G "Visual Studio 10" -DWITH_BOOST=OFF -DWITH_ORACLE=OFF
-DWITH_ODBC=ON -DODBC_INCLUDE_DIRECTORIES="C:/Program Files/Microsoft
SDKs/Windows/v7.0A/Include" -DODBC_LIBRARIES="C:/Program Files/Microsoft
SDKs/Windows/v7.0A/Lib" ..\src

SOCI found the include files, but didn't find the library files.

-- 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                 = C:/Program Files/Microsoft
SDKs/Wi
ndows/v7.0A/Include
-- ODBC_LIBRARIES                           = ODBC_LIBRARY-NOTFOUND

I checked inside C:/Program Files/Microsoft SDKs/Windows/v7.0A/Lib.  I
could find ODBC32.LIB, ODBCCP32.LIB, but NOT GTRTST32.LIB.  Is this the
cause of the error?

Thanks.
------------------------------------------------------------------------------
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