[CXX-1183] Build as DLL on Windows does not work Created: 04/Jan/17  Updated: 27/Oct/23  Resolved: 09/Jan/17

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

Type: Bug Priority: Major - P3
Reporter: Max Quatember Assignee: David Golden
Resolution: Works as Designed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File build-output-mongocxx.txt    

 Description   

Hi!

I wanted to build the latest mongo-cxx-driver-r3.1.1 as DLL on Windows.
I think I have the prerequisites right:

  • MongoDB C driver 1.5.0.

I'm building on Win10 with VC++ 2015.

Please see the attached error output.

Can you give me a hint?

Best regards,
Max



 Comments   
Comment by David Golden [ 09/Jan/17 ]

Great! Glad to hear you found the problem.

Comment by Max Quatember [ 09/Jan/17 ]

Hi David,

Excuse me! Just checked my setup and I saw that I was working with a monco-c-1.5.0 pre-release version.

Thanks for the hint, issue is closed for me!

Best regards,
Max

Comment by David Golden [ 05/Jan/17 ]

Hi, Max. Those errors look like the compiler might be finding the wrong version of the C driver. Can you provide a detailed build log that shows the actual compiler lines used?

Regards,
David

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