On 20 December 2012 17:51, Philipp Kraus <[email protected]> wrote:
> export CPPPATH=/soci/include

With current install structure of SOCI, you need to specify compiler
not with one location but multiple locations of SOCI headers.
For example

gcc \
   -I/usr/include/soci \
   -I/usr/include/soci/sqlite3 \
  ...

The first, /usr/include/soci, will make Core headers like soci.h and
soci-backend.h available
(either included from your source code files or from SOCI backends headers)
The second, /usr/include/soci/sqlite3, will make backend specific
header available.

Hopefully, the burried headers idea will make it easier
https://github.com/SOCI/soci/issues/25

Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
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

Reply via email to