[CXX-1206] Failed to build test_driver Created: 27/Jan/17  Updated: 27/Oct/23  Resolved: 27/Jan/17

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

Type: Bug Priority: Major - P3
Reporter: Gustavo Brondani Schenkel Assignee: David Golden
Resolution: Works as Designed Votes: 0
Labels: Bug, driver
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Compiling under Windows 10 x64
Using msys2 because the mongo-cxx-driver ask for openssl.
mingw-x64
GCC 6.3.0 for mingw-x64
Boost for MinGW-w64


Attachments: Text File log.txt    
Issue Links:
Related
related to CXX-89 Add Evergreen builder for MinGW Closed

 Description   

Hi, I used CMake with default "CodeBlocks - MinGW Makefiles" for all libbson, mongo-c-driver and mongo-cxx-driver, and built it using mingw32-make from Msys MinGW 64-bit Shell.
Mostly is built but when come to build the test_driver from cxx it fail.
I compiled libbson and mongo-c-driver from the master branch since I wasn't able from stable.
The log from mingw32-make is attached.



 Comments   
Comment by Gustavo Brondani Schenkel [ 27/Jan/17 ]

Hi, sorry to maybe reopen this ticket, but I was able to build it.
The problem appears be with Catch validating the code.
I downloaded the last stable version of Catch and it solves the problem.

Comment by David Golden [ 27/Jan/17 ]

Thank you for the report. Unfortunately, we don't currently support MinGW.

For Windows, we recommend compiling libmongoc with native TLS support (see instructions here) and then compiling mongocxx with MSVC 2015 (Update 2 or later).

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