<div dir="ltr">I&#39;m attempting to build WebKit (r165172) in VS2013 Express on a Windows 7 Professional x64 machine, and am getting the following error:<div><br></div><div><div>if exist &quot;%ConfigurationBuildDir%\buildfailed&quot; grep XXWebCoreGeneratedXX &quot;%ConfigurationBuildDir%\buildfailed&quot;</div>
<div>15&gt;  <span class="" style="white-space:pre">        </span>if errorlevel 1 exit 1</div><div>15&gt;  <span class="" style="white-space:pre">        </span>echo XXWebCoreGeneratedXX &gt; &quot;%ConfigurationBuildDir%\buildfailed&quot;</div>
<div>15&gt;  <span class="" style="white-space:pre">        </span>bash build-generated-files.sh &quot;%ConfigurationBuildDir%&quot; &quot;%WebKit_Libraries%&quot; windows &quot;%PlatformArchitecture%&quot;</div><div>15&gt;  perl -I /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/bindings/scripts /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/css/<a href="http://makegrammar.pl">makegrammar.pl</a> --extraDefines &quot;    ENABLE_3D_RENDERING    ENABLE_CHANNEL_MESSAGING    ENABLE_CSS_BOX_DECORATION_BREAK    ENABLE_CSS_FILTERS    ENABLE_CSS_IMAGE_SET    ENABLE_CSS_REGIONS    ENABLE_CSS_SHAPES    ENABLE_CSS_SHAPE_INSIDE    ENABLE_CSS_STICKY_POSITION    ENABLE_CSS_TRANSFORMS_ANIMATIONS_TRANSITIONS_UNPREFIXED    ENABLE_DETAILS_ELEMENT    ENABLE_FILTERS    ENABLE_FULLSCREEN_API    ENABLE_GEOLOCATION    ENABLE_HIGH_DPI_CANVAS    ENABLE_ICONDATABASE    ENABLE_LEGACY_CSS_VENDOR_PREFIXES    ENABLE_MATHML    ENABLE_MEDIA_CONTROLS_SCRIPT    ENABLE_MEDIA_STATISTICS    ENABLE_METER_ELEMENT    ENABLE_PAGE_VISIBILITY_API    ENABLE_PROMISES    ENABLE_REQUEST_ANIMATION_FRAME    ENABLE_SHARED_WORKERS    ENABLE_SQL_DATABASE    ENABLE_SUBPIXEL_LAYOUT    ENABLE_SVG    ENABLE_SVG_FONTS    ENABLE_TEMPLATE_ELEMENT    ENABLE_VIDEO    ENABLE_VIDEO_TRACK    ENABLE_VIEW_MODE_CSS_MEDIA    ENABLE_WEB_SOCKETS    ENABLE_XHR_TIMEOUT    ENABLE_XSLT&quot; --outputDir . --bison &quot;bison&quot; --symbolsPrefix cssyy /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/css/<a href="http://CSSGrammar.y.in">CSSGrammar.y.in</a></div>
<div>15&gt;  Died at /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/css/<a href="http://makegrammar.pl">makegrammar.pl</a> line 85.</div><div>15&gt;  make: *** [CSSGrammar.cpp] Error 2</div><div>15&gt;  /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/DerivedSources.make:842: recipe for target &#39;CSSGrammar.cpp&#39; failed</div>
<div>15&gt;NMAKE : fatal error U1077: &#39;bash&#39; : return code &#39;0x1&#39;</div></div><div><br></div><div>I&#39;m also getting the following error in several different projects:</div><div><br></div><div><div>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: The command &quot;%SystemDrive%\cygwin\bin\which.exe bash</div>
<div>15&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%</div><div>15&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: set PLATFORMARCHITECTURE=32</div>
<div>15&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake /nologo -f WebCoreGenerated.make&quot; exited with code 2.</div><div>16&gt;------ Build started: Project: WebCore, Configuration: Debug Win32 ------</div>
<div>16&gt;  /usr/bin/bash</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: The command &quot;REM Do not edit from the Visual Studio IDE! Customize via a WebCorePreBuild.cmd file.</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: if not exist &quot;C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebCore\WebCore.vcxproj\WebCorePreBuild.cmd&quot; exit /b</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: </div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set CONFIGURATIONBUILDDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\WebKitBuild\Debug</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set CONFIGURATIONNAME=Debug</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set INPUTDIR=</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set INPUTFILENAME=</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set INPUTPATH=</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set INTDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\WebKitBuild\Debug\obj32\WebCore\</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set OUTDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\WebKitBuild\Debug\lib32\</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set PLATFORMARCHITECTURE=32</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set PLATFORMNAME=Win32</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set PROJECTDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebCore\WebCore.vcxproj\</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set PROJECTFILENAME=WebCore.vcxproj</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set PROJECTNAME=WebCore</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set PROJECTPATH=C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebCore\WebCore.vcxproj\WebCore.vcxproj</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set SOLUTIONDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebKit\WebKit.vcxproj\</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set SOLUTIONFILENAME=WebKit.sln</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set SOLUTIONNAME=WebKit</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set SOLUTIONPATH=C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebKit\WebKit.vcxproj\WebKit.sln</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set TARGETDIR=C:\cygwin\home\megan.thomas\WebKit-r165172\WebKitBuild\Debug\lib32\</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set TARGETEXT=.lib</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set TARGETFILENAME=WebCore.lib</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set TARGETPATH=C:\cygwin\home\megan.thomas\WebKit-r165172\WebKitBuild\Debug\lib32\WebCore.lib</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set DEBUGSUFFIX=</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: </div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: REM If any of the above variables didn&#39;t exist previously and</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: REM were set to an empty string, set will set the errorlevel to 1,</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: REM which will cause the project-specific script to think the build</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: REM has failed. This cmd /c call will clear the errorlevel.</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: cmd /c</div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: </div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: &quot;C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebCore\WebCore.vcxproj\WebCorePreBuild.cmd&quot;</div>
<div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: </div><div>16&gt;C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: :VCEnd&quot; exited with code 1.</div>
</div><div><br></div><div>Does anyone have any idea what could be causing these errors? Googling hasn&#39;t turned up anything useful and I&#39;m struggling to know how to proceed from here.</div><div><br></div><div>Thanks. </div>
</div>