At the suggestion of mongodb support I am trying to using the mongo-cxx-driver 3.6.5 using Visual Studio 2019 along with vcpkg package management program version 2025-02-11-bec4296bf5289dc9ce83b4f5095943e44162f9c2.
To specify the version I wanted, I edited D:\vcpkg3\ports\mongo-cxx-driver\vcpkg.json and set the “version” value to “3.6.5”
vcpkg install mongo-cxx-driver
results in several packages installing (libbson, mongo-c-driver) but when it gets to the mongo-cxx part, I get the following errors:
Downloading https://github.com/mongodb/mongo-cxx-driver/archive/r3.6.5.tar.gz → mongodb-mongo-cxx-driver-r3.6.5.tar.gz
D:\vcpkg\downloads\mongodb-mongo-cxx-driver-r3.6.5.tar.gz.4312.part: error: download from https://github.com/mongodb/mongo-cxx-driver/archive/r3.6.5.tar.gz had an unexpected hash
note: Expected: 7b6564cb5087b03886f3c99aa5da9e87a898b1bd1098393a7668e39d673d6203a39f7fa95e5bef995f5e53c18654ef1806823cf643a994a8c19a1df75b9eb306
note: Actual : fe304d2f406f65d79a030dcfd1509543a9ab3057e46328d5ca1fc58da04758b9a2c6666a6194d574f9b42022324972d41c37d00d6fba87dfba63fbfb99e821de
CMake Error at scripts/cmake/vcpkg_download_distfile.cmake:124 (message):
Download failed, halting portfile.
Call Stack (most recent call first):
scripts/cmake/vcpkg_from_github.cmake:106 (vcpkg_download_distfile)
ports/mongo-cxx-driver/portfile.cmake:1 (vcpkg_from_github)
scripts/ports.cmake:203 (include)
Can anyone suggest how to get this resolved? Who should I report it to?