I got the source from the git repository and was able to build it the same
in VS2008 (9.0). I had to download stdint.h because Visual Studio does not
include that header.

However, I run into the same problem. When including the headers (soci.h and
soci-odbc.h) in my project I get the same error:

error C2065: 'x_type' : undeclared identifier
c:\development\libraries\c++\soci\src\core\exchange-traits.h    Line 37


On Wed, Aug 5, 2009 at 5:09 PM, Mateusz Loskot <[email protected]> wrote:

> Scott wrote:
> > I downloaded the source using CVS, and built using VS2008. Everything
> worked
> > fine. When I try to include soci.h and soci-odbc.h, I get this error:
> >
> > Error    2    error C2065: 'x_type' : undeclared identifier
> > c:\development\libraries\c++\soci++\src\core\exchange-traits.h    Line 36
> >
> > What's going on? The library built by itself...
>
> We have moved SOCI to Git repository, see the note at the bottom of
>
> http://soci.sourceforge.net/
>
> The CVS is deprecated and is not being maintained.
>
> Try to build the source from Git repo and see if it works.
> Please, report back if it doesn't.
>
> Best regards,
> --
> Mateusz Loskot, http://mateusz.loskot.net
> Charter Member of OSGeo, http://osgeo.org
>
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to