On Jun 29, 2008, at 3:02 AM, Hartwig Wiesmann wrote: > When I compile SQLite using SQLITE_ENABLE_RTREE set to 1 SQLite will > crash when opening a database (Mac OSX). The reason seems to be that > in rtree.c sqlite3ext.h is included instead of sqlite3.h. This can be > prevented by setting SQLITE_CORE to 1 but then the types i64, u8 etc. > are undefined. > > So, my solution: > > SQLITE_ENABLE_RTREE set to 1 > SQLITE_CORE set to 1 > and define i64, u8 etc. in all cases. > > Did I do anything wrong?
That will probably work. The problem with the i64, u8 types not being defined was fixed here: http://www.sqlite.org/cvstrac/chngview?cn=5282 After this fix, you should be Ok with just SQLITE_ENABLE_RTREE and SQLITE_CORE defined. Dan. _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users