I'm trying to install the new c++ driver (right now on mac - later on ubuntu) with these instructions:
https://github.com/mongodb/mongo-cxx-driver/wiki/Quickstart-Guide-(New-Driver)#build-and-install-the-c-driver-1to install the c driver I followed
https://api.mongodb.com/c/current/installing.htmlnow I had installed pkg-config so I thought I was ok to leave out the ENVs it asks to set.
So I wrote
cd mongo-cxx-driver/build
cmake
-DCMAKE_BUILD_TYPE=Release
..
make && sudo make install
When I make install - it installs into the build/install directory. So it's not installing so I can use it with cmake.
I'd like to eventually get a setup shell script so I can do this on other machines - or at least jot down standard instructions to refer to. Also it would be nice to get a cmake snippet for writing a small bson document to localhost.