[CXX-779] Can't build 1.1.0 C++ driver with Visual Studio 2015? Created: 17/Dec/15  Updated: 11/Sep/19  Resolved: 18/Dec/15

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

Type: Task Priority: Major - P3
Reporter: Rex Conn Assignee: Unassigned
Resolution: Done Votes: 0
Labels: legacy-cxx
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I'm trying to build the 1.1.0 driver with VS 2015 (which is required for our project). Scons doesn't seem to be able to find / recognize VS 2015; it always runs VS 2013 instead. I tried adding "--msvc-version=14.0" to the scons command line, but that just resulted in a (wrong) message "VC version 14.0 not installed.

Is there any way to get it to build with VS 2015?

Thanks for your help.



 Comments   
Comment by Andrew Morrow (Inactive) [ 18/Dec/15 ]

rconn - Glad to hear it is working for you. I'm closing this ticket out but feel free to ping it if you have any further need for help.

Comment by Rex Conn [ 18/Dec/15 ]

Thanks; I was (eventually) able to get it working with the new SCons. (At first it couldn't find an acceptable Python, even though it had worked with the previous version of SCons. I installed a new Python, and it still couldn't find it. Eventually figured out that SCons doesn't support x64 Python, and once I installed a 32-bit Python it all worked.)

Thanks for your help.

Comment by Andrew Morrow (Inactive) [ 18/Dec/15 ]

I just tried it. With VS2015, SCons 2.4.1, the pre-built boost 1.60 binaries, and legacy-1.1.0, I'm able to build the driver without any problems. Please try upgrading your SCons to 2.4.1, where support for VS 2015 was added.

Comment by Andrew Morrow (Inactive) [ 17/Dec/15 ]

What version of SCons are you using?

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