Hi Denis,
I can include the header files, but if I set
export CPPPATH=/soci/include
I get the error, that within my soci-postgresql.h the soci-backend.h is not
found.
I have modify the soci-postgres.h:
Line 27 #include <soci-backend.h> to #include "../soci-backend.h"
After the modification I can use my includes, but the installation package
should be corrected with this line. I have build soci from the sources (3.1.0).
Phil
Am 20.12.2012 um 18:33 schrieb Denis Arnaud:
> Hi Philipp,
>
> what about the following?
> #include <soci/soci-backend.h>
>
> Kind regards
>
> Denis
>
>
> 2012/12/19 Philipp Kraus <[email protected]>
> Hello,
>
> I have build Soci with Postgresql & Boost support. In the include directory
> there is a subdirectory soci with the header files
> and unter include/soci/postgresql is the soci-postgres.h
>
> I have added the include dir to my CPP defines but I get an error "error:
> soci-backend.h: No such file or directory" on this includes:
> #include <soci/soci.h>
> #include <soci/postgresql/soci-postgresql.h>
>
>
> I take a look to the soci-postgresql.h and the include for the backend shows:
> #include <soci-backend.h>
>
> but IMHO is must be
> #include <../soci-backend.h>
>
> Which is the correct CPP define for using Soci?
>
> Thanks
>
> Phil
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d
> _______________________________________________
> soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
>
> ------------------------------------------------------------------------------
> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
> Remotely access PCs and mobile devices and provide instant support
> Improve your efficiency, and focus on delivering more value-add services
> Discover what IT Professionals Know. Rescue delivers
> http://p.sf.net/sfu/logmein_12329d2d_______________________________________________
> soci-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/soci-users
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users