Build bug found for Visual Studio 2010

Oct 13, 2014 at 4:45 PM
Edited Oct 13, 2014 at 5:10 PM
Hello,

I was trying to build on Windows 7 x64, but was having issues. After a bit of debugging I've "solved" the issue for me. I'm just posting to make you aware if you aren't already.

It's a simple bug within V8Update.cmd

Basically, you're assuming that I am using VS 2012, when I'm using VS2010.

The part in question is here:
:SetMSVSVersion
if "%VisualStudioVersion%"=="12.0" goto UseMSVS2013
set GYP_MSVS_VERSION=2012
goto SetMSVSVersionDone
:UseMSVS2013
set GYP_MSVS_VERSION=2013
:SetMSVSVersionDone
After changing set GYP_MSVS_VERSION=2012 to set GYP_MSVS_VERSION=2010 it started working for me.

EDIT: Actually, I think I realize why you guys did it that way...... Apparently <atomic> is only available in 2012 and up....

EDIT2: Follow up question. If I'm not using V8, can I still use this with VS2010? The "NoV8" version seemed to fine. But I don't want to spend a day on this if I can't.
Coordinator
Oct 13, 2014 at 6:14 PM
Greetings!

As you've discovered, a full ClearScript build requires Visual Studio 2012 or 2013. A "NoV8" or custom build may be possible with an earlier Visual Studio version, but we don't test with those and cannot guarantee future compatibility.

By the way, Visual Studio Express 2013 for Windows Desktop is available at no cost.

Cheers!
Oct 21, 2014 at 6:27 PM
FYI- So far, there doesn't seem to be any issues.