- 
    Type:
Bug
 - 
    Resolution: Gone away
 - 
    Priority:
Major - P3
 - 
    None
 - 
    Affects Version/s: 3.4.1
 - 
    Component/s: Build
 - 
    None
 - 
    Environment:VS2015 x64 , Boost_1.69, Cmake 3.16.6, mongocxx 3.4.1 mongoc 1.16.2
 
- 
        None
 
- 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 - 
        None
 
Hi, I am trying to use mongoDB by visual studio 2015. I followed instruction till this point where i get 2 errors. 
1) member "bsoncxx::v_noabi::types::b_double::type_id" may not be initialized Project1 c:\mongo-cxx-driver-r3.4.1\include\bsoncxx\v_noabi\bsoncxx\types.hpp 86 .........
2) LNK1104 cannot open file 'libbsoncxx.lib' Project1 C:\Users\STEE - 28.02.2019\Desktop\Testing Project Files\Project1\Project1\LINK 1
I followed the instruction from http://mongocxx.org/mongocxx-v3/installation/ and https://github.com/rcsalvador/mongocxx-vs2015 but to no avail. It would appear that maybe i am missing libmongocxx.lib and libbsoncxx.lib ? Did i miss a step?
For cxx component, this is the syntax I did for VS2015 developer cmd;
(1) config by VS2015 developer cmd
cmake "-DCMAKE_BUILD_TYPE=Release" "-DBSONCXX_POLY_USE_BOOST=1" "-DCMAKE_PREFIX_PATH=C:\mongo-c-driver-1.16.2" "-DCMAKE_INSTALL_PREFIX=C:\mongo-cxx-r3.4.1" ..
(2) Build and install by VS2015 MSbuild cmd
msbuild.exe ALL_BUILD.vcxproj
msbuild.exe INSTALL.vcxproj
(3) config by VS2015 developer cmd
cmake -G “Visual Studio 14 2015” “-DCMAKE_BUILD_TYPE=Release” “-DCMAKE_INSTALL_PREFIX=C:\mongo-cxx-r3.4.1” “-DCMAKE_PREFIX_PATH=C:\mongo-c-driver-1.16.2” “-DBOOST_ROOT=C:\boost\boost_1_69_0“ ..
(4) Build and install by VS2015 MSbuild cmd
msbuild.exe ALL_BUILD.vcxproj
msbuild.exe INSTALL.vcxproj
Please help. Thank you.
- is related to
 - 
                    
CXX-1789 Issues using C++ driver in Visual Studio projects
-         
 - Closed
 
 -