compiling 20160217 v140 error

Need help running MacroQuest2? Ask your questions about how to get things to work on your computer.

Moderator: MacroQuest Developers

zombie sid
orc pawn
orc pawn
Posts: 21
Joined: Fri Jun 07, 2013 11:17 pm

compiling 20160217 v140 error

Post by zombie sid » Thu Feb 18, 2016 10:02 am

compiling last nights update and received the following error... Was reading up... is the only solution to upgrade to VS2015?

Error 1 error MSB8020: The builds tools for v140 (Platform Toolset = 'v140') cannot be found. To build using the v140 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v140 to build using the v140 build tools. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets 44 5 MQ2ChatWnd

did the usual... copied my MQ2auth.cpp and then ran Macroquest2-VS2012.sln

Updated... and then tried to build Solution

I don't see "Update VC++ Projects" in either the Project menu or right click solution

using:
Microsoft Visual Studio Express 2012 for Windows Desktop
Version 11.0.61030.00 Update 4
Microsoft .NET Framework
Version 4.5.51209

Installed Version: Desktop Express

Team Explorer for Visual Studio 2012 05695-004-0030004-02139
Microsoft Team Explorer for Visual Studio 2012

visual basic (censor: i'm an idiot; please ignore me) 2012 05695-004-0030004-02139
Microsoft visual basic (censor: i'm an idiot; please ignore me) 2012

Visual C# 2012 05695-004-0030004-02139
Microsoft Visual C# 2012

Visual C++ 2012 05695-004-0030004-02139
Microsoft Visual C++ 2012

SwiftyMUSE
Developer
Developer
Posts: 1205
Joined: Tue Sep 23, 2003 10:52 pm

Re: compiling 20160217 v140 error

Post by SwiftyMUSE » Thu Feb 18, 2016 12:12 pm

If I remember correctly... v140 build tools are only available under vs2015.
PayPal: Donate to SwiftyMUSE
Bitcoin: 1LuQ6YcEAWxF3fm9yWMiro4K582je7364V
Krono: PM me

dont_know_at_all wrote:Gee, if only there was a way to correctly report a crash...

demonstar55
a snow griffon
a snow griffon
Posts: 314
Joined: Fri Nov 28, 2008 6:31 am

Re: compiling 20160217 v140 error

Post by demonstar55 » Thu Feb 18, 2016 12:44 pm

You should be able to right click the solution (in VS) and change the toolset.

dewey2461
Contributing Member
Contributing Member
Posts: 1759
Joined: Sun Apr 17, 2005 1:53 am

Re: compiling 20160217 v140 error

Post by dewey2461 » Thu Feb 18, 2016 4:52 pm

I ran into this as well. Was like 2 am so I wasn't really too awake.

If I remember correctly the MQ2ChatWnd project changed, so I reverted to last release and just copied the MQ2ChatWnd.cpp file from the new release into the folder and compiled normally.

zombie sid
orc pawn
orc pawn
Posts: 21
Joined: Fri Jun 07, 2013 11:17 pm

Re: compiling 20160217 v140 error

Post by zombie sid » Thu Feb 18, 2016 4:56 pm

Yup working now... thank you

User avatar
warlock45
a grimling bloodguard
a grimling bloodguard
Posts: 881
Joined: Sat Oct 06, 2007 8:32 pm

Re: compiling 20160217 v140 error

Post by warlock45 » Thu Feb 18, 2016 5:05 pm

at some point along the way the "update VC+++ projects" disappeared, or at least I could not find labeled as such.

I have VS2015, and for me I right click the solution, in the drop down menu I select "Retarget Solution" and that gives me the option to update all projects. Else I have to do it singly

Picture of drop down window

Maybe I am missing something or someone else has a better way of doing it, but that has been working for me.

JudgeD
a snow griffon
a snow griffon
Posts: 354
Joined: Sat Aug 18, 2012 8:07 pm

Re: compiling 20160217 v140 error

Post by JudgeD » Thu Feb 18, 2016 7:49 pm

Happened for me too. Best answer is to change the project's target for chatwnd.

Seems likely that someone accidentally changed it this release.

EqMule
Developer
Developer
Posts: 2697
Joined: Fri Jan 03, 2003 9:57 pm
Contact:

Re: compiling 20160217 v140 error

Post by EqMule » Sun Feb 21, 2016 11:23 am

Oops
My status o/
If you like MQ2 and would like to contribute, please do. My goal is 25 donations per month.
So far I've received Image donations for this month's patches.

Bitcoin: 1Aq8ackjQ4f7AUvbUL7BE6oPfT8PmNP4Zq
Krono: PM me.
I can always use characters for testing, PM me if you can donate one.