On Sat, 5 Sep 2015 09:22:17 -0700 (PDT), Daniel Tenbrock wrote:
> So I need to get Spatialite working udner Unity3d (University work).
>
Hi Daniel,
when I've read your post for the first time I've fallen victim
of a trivial misunderstanding, because I've wrongly assumed you
were intending this Unity software:
https://en.wikipedia.org/wiki/Unity_%28user_interface%29
only after this initial mishap I've finally guessed that you
really intended this second Unity (sorry, I ignored at all
that two different and completely unrelated packages could
share the same "unity" name):
https://en.wikipedia.org/wiki/Unity_%28game_engine%29
if I remember well this is the first time in many long years
that a question about a gaming platform has been posted to
this mailing list.
the possible connections between a gaming platform and a
Spatial DBMS (usually deployed on professional GIS-like
environments) is not a so obvious one, so I'm now rather
curious to learn more details about the general intentions
of your project.
It's always interesting discovering some unexpected and
probably highly unconventional new development.
> So far i have run into a Brickwall. The Problem is that i cant get
> sqlite3_enable_load_extensions() to true.
>
please note: not all binary versions of libsqlite3 do necessarily
support the extension loading mechanism.
if the library was initially compiled by declaring the
SQLITE_OMIT_LOAD_EXTENSION
optional flag the resulting binary will completely lack all
the code implementing the extension loading, this including the
total suppression of the sqlite3_enable_load_extensions() API;
I ignore absolutely anything about Unity, but this could easily
be your case.
several distributions usually suppress at all the extension
loading capability for security reasons.
and if this one really is your case, it really is a brick wall;
you can't do absolutely nothing in order to circumvent this
limitation without breaking the security requirements imposed
by your vendor.
> It doesnt help that i run a 64bit Pc and Unity doesnt let
> me work wioth 32bit dll.
>
this is not a limit specific to Unity; mixing altogether
32 and 64 bit components always is a forbidden operation,
because two radically different memory addressing spaces
can never coexists in the same process.
any 32 bit framework always requires 32 bit DLLs, exactly
as a 64 bit framework strictly requires 64 bit DLLs.
> Im getting really desperate cause im already on a pretty short
> timetable(loads of unexpected problems before) and if this draggs
> on I wont be able to meet the Bachelor deadline.
>
Have a good luck.
but it seems very probable that you are the first human
being on the earth attempting to load SpatiaLite into Unity.
bye Sandro