I followed the instructions provided on the site.
Added -DENABLE_EXTRA_ALIGNMENT=OFF" to the CMake parameters to fix a previous bug reported, as recommended by technicians at Mongodb.
On the last run, error 2440 happened in "transaction.hh" lines 64, 77, 90. It cannot convert from 'initializer list' to 'std::optional<mongocxx::v_noabi::read_concern>'{.
I am using Microsoft Visual Studio Community 2019 Versión 16.4.3.
The used script for cpp driver is:
cmake .. -G "Visual Studio 16 2019" -A x64 -DCMAKE_CXX_STANDARD=17 -DCMAKE_CXX_FLAGS="/Zc:__cplusplus" -DBOOST_ROOT=C:\local\boost_1_60_0 -DCMAKE_PREFIX_PATH=C:\mongo-c-driver -DCMAKE_INSTALL_PREFIX=C:\mongo-cxx-driver
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" ALL_BUILD.vcxproj
"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Current\Bin\msbuild.exe" INSTALL.vcxproj
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/93cd66bc-2603-4510-b7a2-84295ad9522e%40googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to mongod...@googlegroups.com.
--
You received this message because you are subscribed to the Google Groups "mongodb-user"
group.
For other MongoDB technical support options, see: https://docs.mongodb.com/manual/support/
---
You received this message because you are subscribed to the Google Groups "mongodb-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mongodb-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mongodb-user/4740764c-cb52-4a4c-b4ee-91581ee5a6ce%40googlegroups.com.