On Debian based distros:
sudo apt-get install xorg-dev
sudo apt-get install libxcb-xfixes0-dev
- Download amalgamation source from https://www.sqlite.org/download.html
- Download precompiled
sqlite-dll-win-x64-xxxxxxxx.zip
binary from the same page - Extract both archives to the same directory
- Open Developer Command Prompt for Visual Studio 20xx: https://learn.microsoft.com/en-us/visualstudio/ide/reference/command-prompt-powershell?view=vs-2022
- Go to directory where you've extracted source code and binary files (via opened cmd)
- Run:
lib /DEF:sqlite3.def /OUT:sqlite3.lib /MACHINE:x64
$Env:SQLITE3_LIB_DIR = "<path-to-folder-where-sqlite3-dot-lib-lives>"
cargo run -p kliprs-api