Skip to content

Win64 setup — Step 8 — Install SQLite

Chris Locke edited this page May 15, 2017 · 4 revisions

Previous page here.

8. Install SQLite

In this step, we create a directory structure to hold the SQLite source code and libraries.

Create C:\dev\SQLite-Win64:

xyz

SQLite-Win64

Next, copy the contents of the sqlite-amalgamation .zip file (from the SQLite website) into it:

xyz

xyz

xyz

xyz

We need to compile the SQLite source code now. To do that, launch the "VS2013 x64 Native Tools Command Prompt".

That's accessed through the "Visual Studio Tools" item in the Win 8.1 menu structure.

xyz

xyz

xyz

First, change directory to C:\dev\SQLite-Win64.

xyz

Then run this command to compile SQLite:

cl sqlite3.c -DSQLITE_API=__declspec(dllexport) -link -dll -out:sqlite3.dll

xyz

Four new files will be created in the folder:

xyz

SQLite is now compiled for MSVC to use.

You can close the DOS command window now, as it's not needed any more.

Next page here.

Clone this wiki locally