Hi Simon.

I solve my problem. I use MSVS 2017

My steps:
Download
  sqlite-amalgamation-3240000.zip
  icu4c-57_1-Win32-msvc10.zip

Extract archives into directories named by archive names.
Open "Developer Command Prompt for VS 2017", go to
sqlite-amalgamation-3240000  and execute next commands

  cl sqlite3.c -DSQLITE_API=__declspec(dllexport) -DSQLITE_ENABLE_FTS5
-DSQLITE_ENABLE_JSON1 -DSQLITE_ENABLE_RTREE -DSQLITE_USE_ZLIB
-DSQLITE_ENABLE_ICU -DSQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION -O2 /I
../icu4c-57_1-Win32-msvc10/icu/include -link
../icu4c-57_1-Win32-msvc10/icu/lib/*.lib -dll -out:sqlite3.dll

  dumpbin /exports sqlite3.dll > sqlite3.dump

Then prepare def file from sqlite3.dump
Also next files must be saved near sqlite3.dll
  icudt57.dll
  icuin57.dll
  icuuc57.dll

Now all works

With best regards,
Ruslan Yakauleu


С уважением, Яковлев Руслан

2018-06-29 17:57 GMT+03:00 Simon Slavin <[email protected]>:

>
>
> On 28 Jun 2018, at 10:00am, Ruslan Yakauleu <[email protected]> wrote:
>
> > I need this build but with a small change: ICU builtin support required.
> > But in some cases (searched in web) I can't build actual sources. In
> other
> > cases DLL or DEF is wrong and can't be used properly in MSVS projects.
>
> You told us MSVS.  Please tell us which version you're using.  Also, when
> you tell us you got error messages can you tell us the exact error messages
> you're getting ?  Copy & Paste if you want to.
>
> Simon.
> _______________________________________________
> sqlite-users mailing list
> [email protected]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
[email protected]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to