<div dir="ltr">Just checked my PATH and there's no ActiveState Perl there. Also I have the path to my Cygwin bin folder at the beginning of my PATH so it should definitely be using the correct Perl. I've actually managed to get around the first error by building an earlier revision of WebKit, but I'm still getting the second error in all of the following projects: JavaScriptCore, jsc, TestRegExp, testapi, WebCore, Interfaces, WebKitGUID, WebKitExportGenerator, WebKit, WinLauncherLib, WinLauncher, TestNetscapePlugin, ImageDiff, DumpRenderTree and TestWebKitAPI.<div>
It's also saying it cannot open include files CoreFoundation/CFString.h and CoreFoundation/CoreFoundation.h, but I was under the impression that CoreFoundation is specific to the Mac WebKit, so should it even be trying to include these files?</div>
<div><br></div><div>Thanks</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On 8 March 2014 06:08, Brent Fulgham <span dir="ltr"><<a href="mailto:bfulgham@gmail.com" target="_blank">bfulgham@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Do you happen to have ActiveState Perl installed and in your PATH? The build will fail if non-Cygwin Perl is used.</div>
<div><br></div><div>-Brent</div><div><br>Sent from my iPad</div><div><div class="h5"><div><br>On Mar 7, 2014, at 8:20 AM, Megan Thomas <<a href="mailto:m.thomas121381@gmail.com" target="_blank">m.thomas121381@gmail.com</a>> wrote:<br>
<br></div><blockquote type="cite"><div><div dir="ltr">I'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 "%ConfigurationBuildDir%\buildfailed" grep XXWebCoreGeneratedXX "%ConfigurationBuildDir%\buildfailed"</div>
<div>15> <span style="white-space:pre-wrap">        </span>if errorlevel 1 exit 1</div><div>15> <span style="white-space:pre-wrap">        </span>echo XXWebCoreGeneratedXX > "%ConfigurationBuildDir%\buildfailed"</div>
<div>15> <span style="white-space:pre-wrap">        </span>bash build-generated-files.sh "%ConfigurationBuildDir%" "%WebKit_Libraries%" windows "%PlatformArchitecture%"</div><div>15> 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" target="_blank">makegrammar.pl</a> --extraDefines " 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" --outputDir . --bison "bison" --symbolsPrefix cssyy /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/css/<a href="http://CSSGrammar.y.in" target="_blank">CSSGrammar.y.in</a></div>
<div>15> Died at /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/css/<a href="http://makegrammar.pl" target="_blank">makegrammar.pl</a> line 85.</div><div>15> make: *** [CSSGrammar.cpp] Error 2</div><div>15> /home/MEGAN~1.THO/WEBKIT~1/Source/WebCore/DerivedSources.make:842: recipe for target 'CSSGrammar.cpp' failed</div>
<div>15>NMAKE : fatal error U1077: 'bash' : return code '0x1'</div></div><div><br></div><div>I'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 "%SystemDrive%\cygwin\bin\which.exe bash</div>
<div>15>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>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: set PLATFORMARCHITECTURE=32</div>
<div>15>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets(38,5): error MSB3073: nmake /nologo -f WebCoreGenerated.make" exited with code 2.</div><div>16>------ Build started: Project: WebCore, Configuration: Debug Win32 ------</div>
<div>16> /usr/bin/bash</div><div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: The command "REM Do not edit from the Visual Studio IDE! Customize via a WebCorePreBuild.cmd file.</div>
<div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: if not exist "C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebCore\WebCore.vcxproj\WebCorePreBuild.cmd" exit /b</div>
<div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: </div><div>16>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>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set CONFIGURATIONNAME=Debug</div><div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set INPUTDIR=</div>
<div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set INPUTFILENAME=</div><div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set INPUTPATH=</div>
<div>16>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>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>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set PLATFORMARCHITECTURE=32</div><div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set PLATFORMNAME=Win32</div>
<div>16>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>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set PROJECTFILENAME=WebCore.vcxproj</div>
<div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set PROJECTNAME=WebCore</div><div>16>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>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>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set SOLUTIONFILENAME=WebKit.sln</div>
<div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set SOLUTIONNAME=WebKit</div><div>16>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>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>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set TARGETEXT=.lib</div>
<div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set TARGETFILENAME=WebCore.lib</div><div>16>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>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: set DEBUGSUFFIX=</div><div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: </div>
<div>16>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't exist previously and</div><div>16>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>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>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>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: cmd /c</div><div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: </div>
<div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: "C:\cygwin\home\megan.thomas\WebKit-r165172\Source\WebCore\WebCore.vcxproj\WebCorePreBuild.cmd"</div>
<div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: </div><div>16>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets(122,5): error MSB3073: :VCEnd" exited with code 1.</div>
</div><div><br></div><div>Does anyone have any idea what could be causing these errors? Googling hasn't turned up anything useful and I'm struggling to know how to proceed from here.</div><div><br></div><div>Thanks. </div>
</div>
</div></blockquote></div></div><blockquote type="cite"><div><span>_______________________________________________</span><br><span>webkit-help mailing list</span><br><span><a href="mailto:webkit-help@lists.webkit.org" target="_blank">webkit-help@lists.webkit.org</a></span><br>
<span><a href="https://lists.webkit.org/mailman/listinfo/webkit-help" target="_blank">https://lists.webkit.org/mailman/listinfo/webkit-help</a></span><br></div></blockquote></div></blockquote></div><br></div>