[webkit-help] Build Error

Seweryn Pływaczyk s.plywaczyk at gmail.com
Thu Jan 14 02:25:04 PST 2010


Hi,

WebKit solution (as you already saw) has few projects which must be built in
very specific order. For example WTF must be built before JavaScriptCore.
For example if something gone wrong during WTF building, during building of
JavaScriptCore you can see your error.
In that case "buildfailed" file is created in your output dir. Inside it you
can check which of project has been failed. Try to build it and see what is
wrong.

In general, if you just want build one project and not whole solution just
delete "buildfailed" file and build one more time.

2010/1/14 Hamish West <hamishwest at ymail.com>

> Every time i try to build i get an error, build log follows, Yes i
> have updated, yes Visual studio express remembers the extra paths so it
> works with SDK.
>
> --------------------------------------------------------------------BUILD
> LOG--------------------------------------------------------------------
>
> Command Lines
>
> Build machine environment variables may not be correct.
> Build machine environment variables may not be correct.
> Build machine environment variables may not be correct.
> Build machine environment variables may not be correct.
> Creating temporary file "C:\cygwin\home\Hamish\WebKit\WebKitBuild\obj\WebKit\Release\BAT00000E18405428.bat" with contents
> [
> @echo off
>
> %SystemDrive%\cygwin\bin\which.exe bash
>
> if errorlevel 1 set PATH=%SystemDrive%\cygwin\bin;%PATH%
>
> cmd /c
>
> if exist "C:\cygwin\home\Hamish\WebKit\WebKitBuild\buildfailed" grep XXWebKitXX "C:\cygwin\home\Hamish\WebKit\WebKitBuild\buildfailed"
>
> if errorlevel 1 exit 1
>
> echo XXWebKitXX > "C:\cygwin\home\Hamish\WebKit\WebKitBuild\buildfailed"
>
>
>
> touch "C:\cygwin\home\Hamish\WebKit\WebKitBuild\tmp.cpp"
>
> cl /analyze /nologo /c "C:\cygwin\home\Hamish\WebKit\WebKitBuild\tmp.cpp" /Fo"C:\cygwin\home\Hamish\WebKit\WebKitBuild\obj\WebKit\Release\tmp.obj" 2>&1 | findstr D9040
>
> if ERRORLEVEL 1 (set EnablePREfast="true") else (set EnablePREfast="false")
>
> if ERRORLEVEL 1 (set AnalyzeWithLargeStack="/analyze:65536") else (set AnalyzeWithLargeStack="")
>
>
>
> mkdir 2>NUL "C:\cygwin\home\Hamish\WebKit\WebKitBuild\include\JavaScriptCore"
>
> xcopy /y /d "C:\cygwin\home\Hamish\WebKit\WebKitLibraries\win\include\JavaScriptCore\*" "C:\cygwin\home\Hamish\WebKit\WebKitBuild\include\JavaScriptCore"
>
>
>
> bash "C:\cygwin\home\Hamish\WebKit\WebKitLibraries\win\tools\scripts\auto-version.sh" "C:\cygwin\home\Hamish\WebKit\WebKitBuild\obj\WebKit\Release"
>
>
>
> if errorlevel 1 goto VCReportError
>
> goto VCEnd
>
> :VCReportError
>
> echo Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..."
>
> exit 1
>
> :VCEnd
> ]
> Creating command line "C:\cygwin\home\Hamish\WebKit\WebKitBuild\obj\WebKit\Release\BAT00000E18405428.bat"
>
> Output Window
>
> Performing Pre-Build Event...
> /usr/bin/bash
> Project : error PRJ0002 : Error result 1 returned from 'C:\Windows\system32\cmd.exe'.
> Project : warning PRJ0018 : The following environment variables were not found:
> $(PRODUCTION)
> $(DXSDK_DIR)
>
> Results
>
> Build log was saved at "file://C:\cygwin\home\Hamish\WebKit\WebKitBuild\obj\WebKit\Release\BuildLog.htm"
> WebKit - 1 error(s), 0 warning(s)
>
>
> ------------------------------
> See what's on at the movies in your area. Find out now<http://au.rd.yahoo.com/movies/mailtagline/*http://au.movies.yahoo.com/session-times/>
> .
>
> _______________________________________________
> webkit-help mailing list
> webkit-help at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20100114/ac9ceb8c/attachment.html>


More information about the webkit-help mailing list