I'm trying to build mongo-c-driver. Following the official tutorial, I get four lib file for x64. mongoc-static-1.0.lib mongoc-1.0.lib bson-static-1.0.lib bson-1.0.lib
They work in a x64 programHowever the build fails if I set the platforms "win32", the four lib file are not suitable for win32 program.
The turorial steps is:
- cd mongo-c-driver-1.2.1
- cmake -G "Visual Studio 2010 Win64" "-DCMAKE_INSTALL_PREFIX=C:\mongo-c-driver" "-DBSON_ROOT_DIR=C:\mongo-c-driver"
- msbuild.exe ALL_BUILD.vcxproj
- msbuild.exe INSTALL.vcxproj
After cmake, I set the platforms from x64 into win32 in VS2010.
Does anyone have idea about it?