[CXX-1182] 1.59 Boost version do not allow to compile the driver Created: 28/Dec/16  Updated: 26/Jan/17  Resolved: 26/Jan/17

Status: Closed
Project: C++ Driver
Component/s: Build, Implementation
Affects Version/s: 3.1.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Jesus Tejedor Assignee: J Rassi
Resolution: Cannot Reproduce Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
is related to CXX-1019 Test with latest versions of Boost Closed
Backwards Compatibility: Fully Compatible

 Description   

I think is wrong version in the installation page Mongo CXX Driver when you suggest download boost 1.59 to build properly the mongo cxx driver version r3.1.1 . I was unable to compile mongo-cxx driver because the file elements.cpp has a "wrong" initialization related to a certain optional.
I solve it downloading boost version 1.63, try to compile again, and this time, voilĂ , compile perfectly.
So, I think, it would be a great idea, change the boost version to 1.63.
Thanks in advance.



 Comments   
Comment by J Rassi [ 26/Jan/17 ]

Closing as "Cannot Reproduce" due to inactivity.

Comment by J Rassi [ 13/Jan/17 ]

Just following up here. zaeth, would you please reply with the above requested information, to further the diagnosis of this issue? Thanks.

Comment by J Rassi [ 28/Dec/16 ]

Sorry to hear that you've run into this issue!

I'd like to apply a fix to the driver for this problem, rather than document a higher Boost minimum. I'm changing this ticket's component from "Documentation" to "Implementation", accordingly.

We do have continuous integration coverage for Boost 1.59 (see here for a successful compile of r3.1.1 using Boost 1.59), but only against one particular version of one compiler. CXX-1019 is tracking the work to improve our continuous integration suite for better Boost coverage.

Could you please upload the full build output from a clean build (that is, remove the build directory before starting the build) as an attachment to this ticket, including your run of CMake (and the exact command line you ran cmake with)? I'm particularly interested in seeing which compiler you're using, and the exact build error. In addition, please let us know what operating system you're building the driver on.

Thanks so much!

Generated at Wed Feb 07 22:01:40 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.