On 24 September 2013 13:42, Witold E Wolski <wewol...@gmail.com> wrote:
>
> using : soci-3.2.2
>
> build with sqlite support, installed, configured with cmake.
>
> now trying to connect to sqlite file
> included
>
> #include "soci/soci.h"
> #include "soci/sqlite3/soci-sqlite3.h"
>
>
> and getting
>
> /home/witold/prog/soci-install/include/soci/sqlite3/soci-sqlite3.h:28:26:
> fatal error: soci-backend.h: No such file or directory

Yes, this is a known annoyance. Please, see
https://github.com/SOCI/soci/issues/169

>
> sure I could something on the lines
> #include "soci/soci.h"
> #include "soci/soci-backend.h"
> #include "soci/sqlite3/soci-sqlite3.h"
>
> but I do not think that this is the intended usage.

As mentioned in the #169, currently, you need to use appropriate -I
to point to several SOCI folders (core and particular backend).

As you can read in the issue #169 and two other linked there (#25 and #125),
this is being solved currently and I'm hoping to complete the buried headers
implementation in the develop branch within next few weeks.

Best regards,
-- 
Mateusz  Loskot, http://mateusz.loskot.net
"Participation in this whole process is a form of torture" ~~ Szalony

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk
_______________________________________________
soci-users mailing list
soci-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to