Boost logo

Boost Users :

Subject: Re: [Boost-users] [PostgreSQL+SOCI+BOOST] SOCI compile error in <soci>\core\exchange-traits.h with PG and SOCI on Windows
From: Lawry, Brian (blawry_at_[hidden])
Date: 2015-12-13 20:08:04


>> Hi.
>> This isn't strictly a Boost question but I?ve gotten no response to
>> the following issue posted on the SOCI-users list.
[See http://sourceforge.net/p/soci/mailman/message/34675052/ for original message.]
>> Thanks.

>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

Hi Segei.

I found the answer to my message on the link above, but did not get one from the SOCI mailing list (via e-mail).
The workaround from https://github.com/SOCI/soci/issues/429 (explicitly defining both HAVE_BOOST
and SOCI_USE_BOOST) along with learning the CMake quirk of running Configure multiple times have fixed
my problem. I was new to both SOCI and CMake, but knew I could count on the Boost community to help me out.

Thanks for pointing me in the right direction.

Brian


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net