Install mingw using msys2 into c:\Tools\msys64\
- install msys2
- execute
msys2_shell
and thenpacman -S mingw-w64-x86_64-gcc
to install GCC - then perform
pacman -S mingw-w64-x86_64-sqlite3
to install sqlite3 native library - add
c:\Tools\msys64\mingw64\bin
to PATH environment