Hello!

В сообщении от Friday 01 August 2008 14:49:04 Alexey Pechnikov написал(а):
> Try this
> http://dload.mobigroup.ru/sqlite-ext/icu/3.5.9/libSqliteIcu.dll

sqlite3 :memory:
SQLite version 3.5.9
Enter ".help" for instructions
sqlite> SELECT load_extension('libSqliteIcu.dll');
SQL error: error during initialization:
sqlite> .load 'libSqliteIcu.dll'
sqlite>

Now I'm thinking why "SELECT load_extension('libSqliteIcu.dll');" doesn't 
work...

I'm using this command line for MinGW
C:\MinGW\bin\gcc.exe -shared 
icu.c -lm -L. -LC:/icu-3.8/lib/ -licuin -licuuc -licudt -o 
libSqliteIcu.dll -l advapi32 -IC:/icu-3.8/include -I. -IC:\sqlite3-3.5.9\src


There is the problem with 

#ifdef U_UTF8_IMPL
U_EXPORT const uint8_t 
#elif defined(U_STATIC_IMPLEMENTATION) || defined(U_COMMON_IMPLEMENTATION)
U_CFUNC const uint8_t
#else
U_CFUNC U_IMPORT const uint8_t /* U_IMPORT2? */ /*U_IMPORT*/ 
#endif
utf8_countTrailBytes[256];

from utf8.h from icu package. I replace U_EXPORT to U_EXPORT2 and now 
libSqliteIcu.dll is compiled but it's not correct way.

Best regards, Alexey.
_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to