I have successfully build the version 3.0.3 of the MongoDB driver for C++ on Windows 10 with
CMAKE_INSTALL_PREFIX=C:\mongo-cxx-driver
But I don't know how to set up a project in Visual Studio 2015 that can use this driver.
I found this post here, but I don't understand the exact solution. I tried the following properties but failed:
Visual Studio doesn't mark any errors, but when I try to compile the code, I get 401 errors.
I hope someone can help me.
EDIT: The complete list of all 401 errors is stored here.
EDIT: I startet a new project and used exactly the same settings. Now I just get 14 errors. The list of errors is stored here (EDIT: removed file).
EDIT: I added the following configuration:
Now I get the following errors.
First thank everyone for help! I got a workig solution with the following set up: