How to build - Pika-Software/gmsv_mongodb GitHub Wiki
First you need to compile the mongocxx static libraries. Check out the mongocxx guide.
To compile, first download the source code:
$ wget https://github.com/Pika-Software/gmsv_mongodb/archive/2.1.0.tar.gz
$ tar xzf gmsv_mongodb-2.1.0.tar.gz
$ cd gmsv_mongodb-2.1.0
$ mkdir build
$ cd build
or using git
$ git clone https://github.com/Pika-Software/gmsv_mongodb.git
$ git checkout 2.1.0
$ mkdir build
$ cd build
After that, we set up the CMake project and compile the library:
$ cmake ..
$ cmake --build .
And we have compiled the library! (And yes, a million warnings are okay)
Also, to compile a 32 bit library, enter the following commands:
$ export CFLAGS=-m32
$ export CXXFLAGS=-m32
$ export LDFLAGS=-m32
P.S. Guide is not completed yet.