Hi Adam, Thanks :) Some further progress... Building WebKit/WebKit/win/WebKit.vcproj/WebKit.sln is also returning errors :( Attached is the build log. Cause? Thanks once again! Best Regards, Piyush.
________________________________ From: Adam Roben [mailto:[EMAIL PROTECTED] Sent: Monday, March 31, 2008 7:29 PM To: Khanna Piyush-A21612 Cc: [email protected] Subject: Re: [webkit-dev] Building Webkit Khanna Piyush-A21612 wrote: An update... After setting the WebKitLibrariesDir & WebKitOutputDir environment variables using Control Panel, the C:\cygwin\home\a21612\WebKit\WebKitTools\WinLauncher\WinLauncher.vcproj project opened successfully However, that seems to have very few files (i.e. not the entire webkit). You should instead be building WebKit.sln (located at WebKit/WebKit/win/WebKit.vcproj/WebKit.sln). Also building the same returned error (which again mentions some uninitialized environment variables). Attached is the log output. The warning about $(PRODUCTION) is expected and should not cause a problem. Your build log complains that WebKit.h is missing, but that's because you haven't build WebKit yet. To do so, build WebKit.sln as mentioned above. -Adam
1>------ Build started: Project: JavaScriptCoreGenerated, Configuration: Release Win32 ------ 2>------ Build started: Project: WTF, Configuration: Debug Win32 ------ 1>Performing Makefile project actions 2>Performing Pre-Build Event... 1> xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools" "C:\cygwin\home\a21612\WebKit\WebKitLibraries\win\tools" 1>Cannot perform a cyclic copy 1>0 File(s) copied 1> set PATH=%PATH%;%SystemDrive%\cygwin\bin 1> touch "C:\cygwin\home\a21612\WebKit\WebKitBuild\buildfailed" 1> bash build-generated-files.sh "C:\cygwin\home\a21612\WebKit\WebKitBuild" "C:\cygwin\home\a21612\WebKit\WebKitLibraries\win" 1>build-generated-files.sh: line 2: $'\r': command not found 1>build-generated-files.sh: ../../../WebKitTools/Scripts/num-cpus: /usr/bin/perl: bad interpreter: No such file or directory 1>build-generated-files.sh: line 4: $'\r': command not found 1>realpath: No such file or directory 1>cygpath: cannot create short name of 1>build-generated-files.sh: line 11: export: `XSRCROOT': not a valid identifier 1>build-generated-files.sh: line 13: $'\r': command not found 1>build-generated-files.sh: line 15: export: `XDSTROOT': not a valid identifier 1>cygpath: cannot create short name of C:\cygwin\home\a21612\WebKit\WebKitBuild 1>build-generated-files.sh: line 20: export: `XDSTROOT': not a valid identifier 1>build-generated-files.sh: line 21: $'\r': command not found 1>build-generated-files.sh: line 23: export: `SDKROOT': not a valid identifier 1>cygpath: cannot create short name of C:\cygwin\home\a21612\WebKit\WebKitLibraries\win 1>build-generated-files.sh: line 28: export: `SDKROOT': not a valid identifier 1>build-generated-files.sh: line 29: $'\r': command not found 1>build-generated-files.sh: line 31: $'\r': command not found 1>mkdir: cannot create directory `\r\r': No such file or directory 1>build-generated-files.sh: line 33: cd: /obj/JavaScriptCore/DerivedSources: No such file or directory 1>build-generated-files.sh: line 34: $'\r': command not found 1>Can't open perl script "c:\Program": No such file or directory 1>build-generated-files.sh: line 37: exit: 1: numeric argument required 1>NMAKE : fatal error U1077: 'C:\cygwin\bin\bash.EXE' : return code '0xff' 1>Stop. 1>Project : error PRJ0019: A tool returned an error code from "Performing Makefile project actions" 2>Compiling... 1>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\JavaScriptCoreGenerated\Release\BuildLog.htm" 1>JavaScriptCoreGenerated - 2 error(s), 0 warning(s) 3>------ Build started: Project: JavaScriptCore, Configuration: Debug Win32 ------ 3>Performing Pre-Build Event... 3>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 3>Project : warning PRJ0018 : The following environment variables were not found: 3>$(PRODUCTION) 3>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\JavaScriptCore\Debug\BuildLog.htm" 3>JavaScriptCore - 1 error(s), 0 warning(s) 4>------ Build started: Project: WebCoreGenerated, Configuration: Release Win32 ------ 4>Performing Makefile project actions 4>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 4>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\WebCoreGenerated\Release\BuildLog.htm" 4>WebCoreGenerated - 1 error(s), 0 warning(s) 2>CollatorDefault.cpp 2>c:\cygwin\home\a21612\WebKit\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(28) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory 2>CollatorICU.cpp 2>c:\cygwin\home\a21612\WebKit\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(28) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory 2>FastMalloc.cpp 2>..\..\wtf\FastMalloc.cpp(81) : fatal error C1083: Cannot open include file: 'pthread.h': No such file or directory 2>TCSystemAlloc.cpp 2>c:\cygwin\home\a21612\webkit\javascriptcore\wtf\TCSpinLock.h(40) : fatal error C1083: Cannot open include file: 'sched.h': No such file or directory 2>UTF8.cpp 2>c:\cygwin\home\a21612\WebKit\JavaScriptCore\wtf/unicode/icu/UnicodeIcu.h(28) : fatal error C1083: Cannot open include file: 'unicode/uchar.h': No such file or directory 2>Generating Code... 2>Project : warning PRJ0018 : The following environment variables were not found: 2>$(PRODUCTION) 2>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\WTF\Debug\BuildLog.htm" 2>WTF - 5 error(s), 0 warning(s) 5>------ Build started: Project: QTMovieWin, Configuration: Debug Win32 ------ 5>Performing Pre-Build Event... 5>/home/a21612/WebKit/WebKitLibraries/win/tools/scripts/auto-version.sh: line 2: $'\r': command not found 5>/home/a21612/WebKit/WebKitLibraries/win/tools/scripts/auto-version.sh: line 25: $'\r': command not found 5>mkdir: cannot create directory `/home/a21612/WebKit/WebKitBuild/obj/QTMovieWin/Debug\r': No such file or directory 5>/home/a21612/WebKit/WebKitLibraries/win/tools/scripts/auto-version.sh: line 31: $'\r': command not found 5>cat: /home/a21612/WebKit/WebKitLibraries/win/Tools/Scripts/PRODUCTVERSION: No such file or directory 5>/home/a21612/WebKit/WebKitLibraries/win/tools/scripts/auto-version.sh: line 84: syntax error: unexpected end of file 5>Project : error PRJ0019: A tool returned an error code from "Performing Pre-Build Event..." 5>Project : warning PRJ0018 : The following environment variables were not found: 5>$(PRODUCTION) 5>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\QTMovieWin\Debug\BuildLog.htm" 5>QTMovieWin - 1 error(s), 0 warning(s) 6>------ Build started: Project: WebCore, Configuration: Debug_Cairo Win32 ------ 6>Performing Pre-Build Event... 6>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 6>Project : warning PRJ0018 : The following environment variables were not found: 6>$(PRODUCTION) 6>$(AnalyzeWithLargeStack) 6>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\WebCore\Debug_Cairo\BuildLog.htm" 6>WebCore - 1 error(s), 0 warning(s) 7>------ Build started: Project: ImageDiff, Configuration: Debug Win32 ------ 7>Performing Pre-Build Event... 7>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 7>Project : warning PRJ0018 : The following environment variables were not found: 7>$(PRODUCTION) 7>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\ImageDiff\Debug\BuildLog.htm" 7>ImageDiff - 1 error(s), 0 warning(s) 8>------ Build started: Project: InterfacesGenerated, Configuration: Release Win32 ------ 8>Performing Makefile project actions 8>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 8>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\InterfacesGenerated\Release\BuildLog.htm" 8>InterfacesGenerated - 1 error(s), 0 warning(s) 9>------ Build started: Project: Interfaces, Configuration: Debug Win32 ------ 9>Performing Pre-Build Event... 9>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 9>Project : warning PRJ0018 : The following environment variables were not found: 9>$(PRODUCTION) 9>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\Interfaces\Debug\BuildLog.htm" 9>Interfaces - 1 error(s), 0 warning(s) 10>------ Build started: Project: WebKitGUID, Configuration: Debug Win32 ------ 10>Performing Pre-Build Event... 10>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 10>Project : warning PRJ0018 : The following environment variables were not found: 10>$(PRODUCTION) 10>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\WebKitGUID\Debug\BuildLog.htm" 10>WebKitGUID - 1 error(s), 0 warning(s) 11>------ Build started: Project: WebKit, Configuration: Debug_Cairo Win32 ------ 11>Performing Pre-Build Event... 11>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 11>Project : warning PRJ0018 : The following environment variables were not found: 11>$(PRODUCTION) 11>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\WebKit\Debug_Cairo\BuildLog.htm" 11>WebKit - 1 error(s), 0 warning(s) 12>------ Build started: Project: testkjs, Configuration: Debug Win32 ------ 13>------ Build started: Project: WinLauncher, Configuration: Debug Win32 ------ 12>Performing Pre-Build Event... 13>Compiling... 12>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 12>Project : warning PRJ0018 : The following environment variables were not found: 12>$(PRODUCTION) 12>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\testkjs\Debug\BuildLog.htm" 12>testkjs - 1 error(s), 0 warning(s) 13>WinLauncher.cpp 14>------ Build started: Project: TestNetscapePlugin, Configuration: Debug Win32 ------ 13>c:\cygwin\home\a21612\webkit\webkittools\winlauncher\winlauncher.h(29) : fatal error C1083: Cannot open include file: 'WebKit.h': No such file or directory 14>Performing Pre-Build Event... 13>Project : warning PRJ0018 : The following environment variables were not found: 13>$(PRODUCTION) 13>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\WinLauncher\Debug\BuildLog.htm" 13>WinLauncher - 1 error(s), 0 warning(s) 14>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 14>Project : warning PRJ0018 : The following environment variables were not found: 14>$(PRODUCTION) 14>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\TestNetscapePlugin\Debug\BuildLog.htm" 14>TestNetscapePlugin - 1 error(s), 0 warning(s) 15>------ Build started: Project: DumpRenderTree, Configuration: Debug Win32 ------ 15>Performing Pre-Build Event... 15>Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. 15>Project : warning PRJ0018 : The following environment variables were not found: 15>$(PRODUCTION) 15>Build log was saved at "file://C:\cygwin\home\a21612\WebKit\WebKitBuild\obj\DumpRenderTree\Debug\BuildLog.htm" 15>DumpRenderTree - 1 error(s), 0 warning(s) 16>------ Build started: Project: Drosera, Configuration: Debug 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\a21612\WebKit\WebKitBuild\obj\Drosera\Debug\BuildLog.htm" 16>Drosera - 1 error(s), 0 warning(s) ========== Build: 0 succeeded, 16 failed, 1 up-to-date, 0 skipped ==========
_______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-dev

