Trying to install c++ driver

UPDATE: I have managed to install the driver as a package directly in the C++ project I am working on. I am working in Visual Studio 2019 Enterprize, with the v142 compiler. It required the inclusion of the boost library. I tried doing that both through NuGet packages in Visual Studio and installing boost v1.87 and 1.79 separately and linking them as dependencies. In all those cases, I get a compiler error that basically says the syntax is incorrect, even though the version of compiler matches the lib. The errors are many but here is the first one:
boost.1.83.0\lib\native\include\boost\throw_exception.hpp(97,36): error C2143: syntax error: missing ')' before 'constant'
Please let me know if someone encountered this before and what can be done!