[PostgreSQL+SOCI+BOOST] SOCI compile error in core\exchange-traits.h with PG and SOCI on Windows
Hi.
This isn’t strictly a Boost question but I’ve gotten no response to the following
issue posted on the SOCI-users list. I’m posting here in the hope that someone has
experience building SOCI for PostgreSQL with Boost type support on Windows.
Configuration:
Using SOCI 3.2.3, Boost 1.59.0, PostgreSQL 9.4 (same with 9.5b2),
and Microsoft Visual Studio 2010 on Win 7 Pro 64-bit (everything but OS is 32-bit).
Target is 32-bit SOCI DLL with PostgreSQL support and Boost integration (at least tuple).
Ran 'soci_postgresql_test.exe' and all tests under 'SOCI PostgreSQL Tests' passed except:
test 6 skipped (dynamic backend)
NOTICE: table "soci_test" does not exist, skipping
NOTICE: table "soci_json_test" does not exist, skipping
NOTICE: table "soci_test" does not exist, skipping
I can build an application that doesn't use boost::tuple without error.
However, if I do use boost∷tuple, I get:
c:\develop\soci-3.2.3\core\exchange-traits.h(40): error C2065: 'x_type' : undeclared identifier
// ----example-----------------------------------------------------
#include "stdafx.h"
/* stdafx.h includes:
#define _ITERATOR_DEBUG_LEVEL 0
#include "targetver.h"
#include
2015-12-10 17:57 GMT+03:00 Lawry, Brian
Hi.
This isn’t strictly a Boost question but I’ve gotten no response to the following
issue posted on the SOCI-users list.
Thanks.
*Brian Lawry*
*Manufacturing Software Engineer-Supply Chain*
*Compressor Controls Corporation*
4725 121st Street, Des Moines, Iowa 50323, U.S.A.
blawry@cccglobal.com / www.cccglobal.com / LinkedIn http://www.linkedin.com/company/compressor-controls-corporation
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
It's not exactly true. You've already been answered in SOCI mailing list http://sourceforge.net/p/soci/mailman/message/34675052/ Could you check proposed solution? -- Best Regards, Sergei Nikulov
participants (2)
-
Lawry, Brian
-
Sergei Nikulov