[SERVER-14172] vs2010_mongodb.sln needs updating Created: 05/Jun/14  Updated: 10/Dec/14  Resolved: 12/Jun/14

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 2.6.1
Fix Version/s: None

Type: Bug Priority: Minor - P4
Reporter: Maxime Beaudry Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File out.txt    
Operating System: Windows
Sprint: Server 2.7.2
Participants:

 Description   

Hi,

I have downloaded the source code of Mongo 2.6.1 and I tried to compile it under VS2010. Here is how I downloaded the code:

git clone git://github.com/mongodb/mongo.git
cd mongo
git checkout r2.6.1

I then opened a VS 2010 command prompt and executed the following commands:

cd src
msbuild vs2010_mongodb.sln /p:Configuration=Win2008PlusRelease /p:Platform=x64 > out.txt

The compilation failed. See the attached log file. Note that I was able to compile it with scons. But, since what I wanted to do was to use the VS profiler against Mongo to understand a performance degradation of the aggregation framework, this does not help me. It needs to be compilable in VS for the profiler to be usable.

Regards,
Maxime



 Comments   
Comment by Mark Benvenuto [ 12/Jun/14 ]

The Visual Studio solution files have not been maintained for a while now. They have been removed in 2.7.2, and the documentation on the website has been updated to only reflect that Scons is the only way to build the product.

Comment by Maxime Beaudry [ 05/Jun/14 ]

I don't know if it is possible, but it may be useful to compile with msbuild in your build process so this problem does not occur again.

Comment by Eric Milkie [ 05/Jun/14 ]

The solution file needs to be updated for 2.6.

Generated at Thu Feb 08 03:34:04 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.