Precompiled Binaries for Windows

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Precompiled Binaries for Windows

Ruslan Yakauleu
Hi!

Please can anybody describe how can I reproduce this build from sources?

https://www.sqlite.org/download.html
- Precompiled Binaries for Windows
-- sqlite-dll-win32-x86-3240000.zip (444.18 KiB)         32-bit DLL (x86)
for SQLite version 3.24.0

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.

With best regards,
Ruslan Yakauleu
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Precompiled Binaries for Windows

Simon Slavin-3


On 28 Jun 2018, at 10:00am, Ruslan Yakauleu <[hidden email]> 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
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Precompiled Binaries for Windows

Ruslan Yakauleu
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 <[hidden email]>:

>
>
> On 28 Jun 2018, at 10:00am, Ruslan Yakauleu <[hidden email]> 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
> [hidden email]
> http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
>
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users
Reply | Threaded
Open this post in threaded view
|

Re: Precompiled Binaries for Windows

Simon Slavin-3
On 29 Jun 2018, at 4:33pm, Ruslan Yakauleu <[hidden email]> wrote:

> I solve my problem. I use MSVS 2017

Ruslan, very good.  Thank you for posting your solution.  It may help someone else.  Happy programming.

Simon.
_______________________________________________
sqlite-users mailing list
[hidden email]
http://mailinglists.sqlite.org/cgi-bin/mailman/listinfo/sqlite-users