On 18 March 2013 17:58, caseyjames <[email protected]> wrote:
> Hi I was able to SOCI compiled.  I constructed an xcode project with cmake
> and manually built and lipo-ed the binaries into a fat binary.
>
> #include "soci.h"
> #include "soci-sqlite3.h"
> soci::session sql(soci::sqlite3, dbPath);
>
> The binaries themselves aren't missing the architecture
> Architectures in the fat file: libsoci_sqlite3_static.a are: armv7 armv7s
> i386
>
> When I try to run a command I get a raft of errors.  At a glance, do they
> suggest an obvious issue of what might not be working?
>
> ----
>
> Undefined symbols for architecture i386:
> [...]


These are linker errors, looks like SQLite3 binaries missing for
one of the architectures. I have no idea how the iOS build toochain
supports multi-architecture binaries.

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

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to