Bash:
set VCPKG_DEFAULT_TRIPLET=x64-windows
set VCPKG_TARGET_ARCHITECTURE=x64
set VCPKG_LIBRARY_LINKAGE=dynamic
set VCPKG_CRT_LINKAGE=static
try running these commands the same place you ran vcpkg to install the libraries
then do
vcpkg upgrade
if that doesn't show really strange out put, actually do it
vcpkg upgrade --no-dry-run
Then try compiling again.