forked from sqlitebrowser/sqlitebrowser
-
Notifications
You must be signed in to change notification settings - Fork 0
Win64 setup — Step 8 — Install SQLite
Justin Clift edited this page May 7, 2016
·
2 revisions
Previous page here.
In this step, we create a directory structure to hold the SQLite source code and libraries.
Create C:\dev\SQLite:


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




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.



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

Then run this command to compile SQLite:
cl sqlite3.c -DSQLITE_API=__declspec(dllexport) -link -dll -out:sqlite3.dll

Four new files will be created in the folder:

SQLite is now compiled for MSVC to use.
You can close the DOS command window now, as it's not needed any more.