Skip to content

Instantly share code, notes, and snippets.

@menjaraz
Forked from zeljic/build_sqlite3_lib.md
Last active November 21, 2023 03:43
Show Gist options
  • Select an option

  • Save menjaraz/8da4a02b97f146d530437e39c6f46ce9 to your computer and use it in GitHub Desktop.

Select an option

Save menjaraz/8da4a02b97f146d530437e39c6f46ce9 to your computer and use it in GitHub Desktop.

Revisions

  1. menjaraz revised this gist Nov 21, 2023. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions build_sqlite3_lib.md
    Original file line number Diff line number Diff line change
    @@ -2,10 +2,10 @@

    1. Download source from [source](https://www.sqlite.org/download.html)

    For example: [source](https://www.sqlite.org/2023/sqlite-amalgamation-3430100.zip) `https://www.sqlite.org/2023/sqlite-amalgamation-3430100.zip`
    For example: [source](https://www.sqlite.org/2023/sqlite-amalgamation-3440000.zip) `https://www.sqlite.org/2023/sqlite-amalgamation-3440000.zip`
    2. Download binary from [binary](https://www.sqlite.org/download.html)

    For example: [binary](https://www.sqlite.org/2023/sqlite-dll-win64-x64-3430100.zip) `https://www.sqlite.org/2023/sqlite-dll-win64-x64-3430100.zip`
    For example: [binary](https://www.sqlite.org/2023/sqlite-dll-win64-x64-3430100.zip) `https://www.sqlite.org/2023/sqlite-dll-win64-x64-3440000.zip`

    3. Extract both archives to the same directory

  2. @zeljic zeljic revised this gist Sep 18, 2023. 1 changed file with 3 additions and 3 deletions.
    6 changes: 3 additions & 3 deletions build_sqlite3_lib.md
    Original file line number Diff line number Diff line change
    @@ -1,11 +1,11 @@
    ### How to build SQLite3 .lib file on Windows 10

    1. Download source from [source](https://www.sqlite.org/download.html) (https://www.sqlite.org/download.html)
    1. Download source from [source](https://www.sqlite.org/download.html)

    For example: [source](https://www.sqlite.org/2022/sqlite-amalgamation-3390300.zip) `https://www.sqlite.org/2022/sqlite-amalgamation-3390300.zip`
    For example: [source](https://www.sqlite.org/2023/sqlite-amalgamation-3430100.zip) `https://www.sqlite.org/2023/sqlite-amalgamation-3430100.zip`
    2. Download binary from [binary](https://www.sqlite.org/download.html)

    For example: [binary](https://www.sqlite.org/2022/sqlite-dll-win64-x64-3390300.zip) `https://www.sqlite.org/2022/sqlite-dll-win64-x64-3390300.zip`
    For example: [binary](https://www.sqlite.org/2023/sqlite-dll-win64-x64-3430100.zip) `https://www.sqlite.org/2023/sqlite-dll-win64-x64-3430100.zip`

    3. Extract both archives to the same directory

  3. @zeljic zeljic revised this gist Sep 18, 2023. 1 changed file with 3 additions and 1 deletion.
    4 changes: 3 additions & 1 deletion build_sqlite3_lib.md
    Original file line number Diff line number Diff line change
    @@ -13,4 +13,6 @@

    5. Go to directory where you've extracted **source code** and **binary** files (via opened cmd)
    6. Run
    ```lib /DEF:sqlite3.def /OUT:sqlite3.lib /MACHINE:x64```
    ```lib /DEF:sqlite3.def /OUT:sqlite3.lib /MACHINE:x64```

    [Blog post](https://zeljic.com/blog/sqlite-lib-windows-10/)
  4. @zeljic zeljic revised this gist Sep 13, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions build_sqlite3_lib.md
    Original file line number Diff line number Diff line change
    @@ -2,10 +2,10 @@

    1. Download source from [source](https://www.sqlite.org/download.html) (https://www.sqlite.org/download.html)

    For example: [source](https://www.sqlite.org/2021/sqlite-amalgamation-3340100.zip) `https://www.sqlite.org/2021/sqlite-amalgamation-3340100.zip`
    For example: [source](https://www.sqlite.org/2022/sqlite-amalgamation-3390300.zip) `https://www.sqlite.org/2022/sqlite-amalgamation-3390300.zip`
    2. Download binary from [binary](https://www.sqlite.org/download.html)

    For example: [binary](https://www.sqlite.org/2021/sqlite-dll-win64-x64-3340100.zip) `https://www.sqlite.org/2021/sqlite-dll-win64-x64-3340100.zip`
    For example: [binary](https://www.sqlite.org/2022/sqlite-dll-win64-x64-3390300.zip) `https://www.sqlite.org/2022/sqlite-dll-win64-x64-3390300.zip`

    3. Extract both archives to the same directory

  5. @zeljic zeljic revised this gist Feb 4, 2021. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions build_sqlite3_lib.md
    Original file line number Diff line number Diff line change
    @@ -2,10 +2,10 @@

    1. Download source from [source](https://www.sqlite.org/download.html) (https://www.sqlite.org/download.html)

    For example: [source](https://www.sqlite.org/2020/sqlite-amalgamation-3310100.zip) `https://www.sqlite.org/2020/sqlite-amalgamation-3310100.zip`
    For example: [source](https://www.sqlite.org/2021/sqlite-amalgamation-3340100.zip) `https://www.sqlite.org/2021/sqlite-amalgamation-3340100.zip`
    2. Download binary from [binary](https://www.sqlite.org/download.html)

    For example: [binary](https://www.sqlite.org/2020/sqlite-dll-win64-x64-3310100.zip) `https://www.sqlite.org/2020/sqlite-dll-win64-x64-3310100.zip`
    For example: [binary](https://www.sqlite.org/2021/sqlite-dll-win64-x64-3340100.zip) `https://www.sqlite.org/2021/sqlite-dll-win64-x64-3340100.zip`

    3. Extract both archives to the same directory

  6. @zeljic zeljic revised this gist Feb 17, 2020. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions build_sqlite3_lib.md
    Original file line number Diff line number Diff line change
    @@ -2,10 +2,10 @@

    1. Download source from [source](https://www.sqlite.org/download.html) (https://www.sqlite.org/download.html)

    For example: [source](https://www.sqlite.org/2018/sqlite-amalgamation-3250200.zip)
    For example: [source](https://www.sqlite.org/2020/sqlite-amalgamation-3310100.zip) `https://www.sqlite.org/2020/sqlite-amalgamation-3310100.zip`
    2. Download binary from [binary](https://www.sqlite.org/download.html)

    For example: [binary](https://www.sqlite.org/2018/sqlite-dll-win64-x64-3250200.zip)
    For example: [binary](https://www.sqlite.org/2020/sqlite-dll-win64-x64-3310100.zip) `https://www.sqlite.org/2020/sqlite-dll-win64-x64-3310100.zip`

    3. Extract both archives to the same directory

  7. @zeljic zeljic revised this gist Feb 10, 2020. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion build_sqlite3_lib.md
    Original file line number Diff line number Diff line change
    @@ -11,6 +11,6 @@

    4. Open **Developer Command Prompt for VS 2017** by typing *Developer Command* in Windows Search

    5. Go to directory where you've extracted **source code** and **binar** files (via opened cmd)
    5. Go to directory where you've extracted **source code** and **binary** files (via opened cmd)
    6. Run
    ```lib /DEF:sqlite3.def /OUT:sqlite3.lib /MACHINE:x64```
  8. @zeljic zeljic created this gist Oct 30, 2018.
    16 changes: 16 additions & 0 deletions build_sqlite3_lib.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,16 @@
    ### How to build SQLite3 .lib file on Windows 10

    1. Download source from [source](https://www.sqlite.org/download.html) (https://www.sqlite.org/download.html)

    For example: [source](https://www.sqlite.org/2018/sqlite-amalgamation-3250200.zip)
    2. Download binary from [binary](https://www.sqlite.org/download.html)

    For example: [binary](https://www.sqlite.org/2018/sqlite-dll-win64-x64-3250200.zip)

    3. Extract both archives to the same directory

    4. Open **Developer Command Prompt for VS 2017** by typing *Developer Command* in Windows Search

    5. Go to directory where you've extracted **source code** and **binar** files (via opened cmd)
    6. Run
    ```lib /DEF:sqlite3.def /OUT:sqlite3.lib /MACHINE:x64```