Hello,

 I've installed DB2 headers and libraries to be able to test that DB2
backend at least compiles (I still can't check whether it works because I
don't have access to any DB2 database server) and discovered that this
breaks the build of the ODBC backend as there is a conflict between
sqlext.h in DB2 include directory and ODBC file with the same name in
/usr/include. I.e. currently it seems to be impossible to build both DB2
and ODBC backends.

 A straightforward fix would be to only use DB2_INCLUDE_DIR when compiling
DB2 files (the backend itself and the test), but I have no idea about how
to do this with CMake. Could any CMake experts please help?

 TIA,
VZ

Attachment: pgpF7oAxittee.pgp
Description: PGP signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
soci-users mailing list
soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to