[CXX-1012] Driver fail to compile on windows with VS2015 sp3. Created: 31/Aug/16 Updated: 31/Mar/17 Resolved: 07/Sep/16 |
|
| Status: | Closed |
| Project: | C++ Driver |
| Component/s: | Build |
| Affects Version/s: | 3.1.0 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Alex Vilensky | Assignee: | David Golden |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Description |
|
I get the following message when trying to compile cxx driver: C:\Users\alex.vilensky\Documents\mongo-cxx-driver\src\mongocxx\model\write.cpp(42): error C2338: Move-construct may thr |
| Comments |
| Comment by David Golden [ 07/Sep/16 ] |
|
Not yet, but I'll make a ticket for that. |
| Comment by Alex Vilensky [ 01/Sep/16 ] |
|
1.59. Have you tested the cxx driver with the latest boost version yet? |
| Comment by David Golden [ 01/Sep/16 ] |
|
Great! Which Boost version did you use? |
| Comment by Alex Vilensky [ 01/Sep/16 ] |
|
Hi David, it worked. Thank you very much for your help. Have a nice weekend. |
| Comment by Alex Vilensky [ 01/Sep/16 ] |
|
Hi David. let me give it a try. |
| Comment by David Golden [ 01/Sep/16 ] |
|
Hi, Alex. It's compiling with the same compiler on our CI platform (example), but I noticed that we're using Boost 1.59 there. Could you please try upgrading Boost? |
| Comment by Alex Vilensky [ 31/Aug/16 ] |
|
command used to build the driver: C:\Users\alex.vilensky\Documents\mongo-cxx-driver>cmake.exe -G "Visual Studio 14 2015 Win64" -DLIBBSON_DIR=c:\usr -DLIBMONGOC_DIR=c:\usr -DBSONCXX_POLY_USE_BOOST=1 -DBOOST_ROOT=C:\Users\alex.vilensky\Documents\boost\include\boost-1_57 -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=.\install |