[email protected] wrote:

Hi, there's some errors when I built webkit on Windows following instructions on "webkit.org". It seems to be something wrong with cmd.exe.

I've read a lot of posts in this maillist, and found no solution for this kind of error.

I post it again, hoping to move further.

Attached is my error info:

*********************************************************************************

16>------ Build started: Project: TestNetscapePlugin, Configuration: Release Win32 ------
16>Performing Pre-Build Event...
16>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 16>Project : warning PRJ0018 : The following environment variables were not found:
16>$(PRODUCTION)
16>Build log was saved at "file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\TestNetscapePlugin\Release\BuildLog.htm <file:///C:/cygwin/home/Administrator/WebKit/WebKitBuild/obj/TestNetscapePlugin/Release/BuildLog.htm>"
16>TestNetscapePlugin - 1 error(s), 0 warning(s)
17>------ Build started: Project: ImageDiff, Configuration: Release Win32 ------
17>Performing Pre-Build Event...
17>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 17>Project : warning PRJ0018 : The following environment variables were not found:
17>$(PRODUCTION)
17>Build log was saved at "file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\ImageDiff\Release\BuildLog.htm <file:///C:/cygwin/home/Administrator/WebKit/WebKitBuild/obj/ImageDiff/Release/BuildLog.htm>"
17>ImageDiff - 1 error(s), 0 warning(s)
18>------ Build started: Project: DumpRenderTree, Configuration: Release Win32 ------
18>Performing Pre-Build Event...
18>Project : error PRJ0002 : Error result 1 returned from 'c:\WINDOWS\system32\cmd.exe'. 18>Project : warning PRJ0018 : The following environment variables were not found:
18>$(PRODUCTION)
18>Build log was saved at "file://C:\cygwin\home\Administrator\WebKit\WebKitBuild\obj\DumpRenderTree\Release\BuildLog.htm <file:///C:/cygwin/home/Administrator/WebKit/WebKitBuild/obj/DumpRenderTree/Release/BuildLog.htm>"
18>DumpRenderTree - 1 error(s), 0 warning(s)
========== Build: 15 succeeded, 3 failed, 0 up-to-date, 0 skipped ==========


Each .vcproj in WebKit.sln performs the following operations before/after it builds:

Before:
1) does $(WebKitOutputDir)\buildfailed exist? If so, abort
2) write our project name to $(WebKitOutputDir)\buildfailed

After:
3) did I build successfully? If so, delete $(WebKitOutputDir)\buildfailed

(The very first project in WebKit.sln, WTF.vcproj, skips step (1), since we want to reset the "buildfailed" state at the start of each build of WebKit.sln.)

The errors you've pasted above are what you see when step (1) aborts. This usually indicates that some earlier project failed to build or was canceled.

if I run "build-webkit" again, I will get succeeded

Strange!

So, does that mean I successfully build webkit?


I believe so.

Why can't I successfully build it at the first time?


I'm not sure. When the build fails you could look at the contents of $(WebKitOutputDir)\buildfailed (i.e., WebKitBuild\buildfailed) to see which project failed to delete the buildfailed file in step (3).

Every first time I built a brand-new webkit, I get 3 errors exactly as listed first.


What do you mean by "every first time"? Isn't there only one "first time"?

-Adam

_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to