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