Installing SQLite on Windows using vcpkg

To compile OpenFusion on Windows using Visual Studio, you first need to grab SQLite. One of the easier ways to do this is using vcpkg. This guide will detail how to install vcpkg, then use it to install SQLite, and finally integrate everything into VS.

Getting vcpkg

  1. First, make sure git is installed - you can download it here.
  2. Now open a command prompt where you want to download vcpkg to.
  3. Run git clone https://github.com/microsoft/vcpkg - this should clone vcpkg to a new folder.
  4. Change directory into the vcpkg folder, then run bootstrap-vcpkg.bat to compile vcpkg.

Getting SQLite

  1. Now that you have vcpkg installed, run vcpkg install sqlite3:x64-windows to download and install SQLite.
  2. Once the above command finishes, run vcpkg integrate install to integrate everything into Visual Studio.
  3. You should now be able to compile! Happy coding!