Re: [webkit-dev] Errors during Windows Cairo compile
Thanks Brent, I originally followed the install steps on the building/tools.htm page. By Apple Installer are you referring to the cygwin-downloader.zip from webkit.org? I did use that. Also I verified I have gperf accessible from my cygwin window. I am missing the WebKitBuild directory. Also, I may be having a svn problem as I keep finding vcproj files that look like they have merge conflicts. For instance WebCore.vcproj has this line: mailto:[EMAIL PROTECTED] Sent: Wednesday, March 05, 2008 12:01 PM To: Bailey, Richard Cc: webkit-dev@lists.webkit.org; Daniel Zucker Subject: Re: [webkit-dev] Errors during Windows Cairo compile Richard, The current error message looks like the generated files are not being built. This might be due to missing Cygwin tools. If you had Cygwin installed before trying to build WebKit, you might have been tempted to avoid using the Apple Installer (I know I was!). The problem is that there are certain tools required that you might not have installed. For me, the problem was that I had not installed gperf (the perfect hash generator), so some of the auto-generated files were not being created. An annoying problem is that sometimes a "build-webkit --clean" does not get rid of everything necessary. In those cases you will be forced to delete the WebKitBuild directory. In your case, the complaints about "WebCore/COMPtr.h" missing are confusing because you can probably see it in "platform/win/COMPtr.h". So what gives? The build is actually looking in WebKitBuild/include/WebCore for COMPtr.h, so the fact that it is missing indicates that the post-build step that copies things from WebCore/platform/* to WebKitBuild/include failed. Scour the build logs and you will find enlightenment! -Brent On Wed, Mar 5, 2008 at 11:16 AM, Bailey, Richard <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Yes, my code was out of sync. I've done update-webkit and rebuilt. I now get the following errors suggesting that WebCore did not build? I see no BuildLog.htm for WebCore. JavaScriptCore BuildLog.htm looks fine. Also, is there a way to build everything cleanly? I tried -clean flag without success. (it seemed like a noop) Thanks for all the help, Richard Performing Pre-Build Event... Compiling... DebuggerClient.cpp c:\cygwin\webkit\webkit\webkittools\drosera\win\DebuggerClient.h(35) : fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory DebuggerDocument.cpp c:\cygwin\WebKit\WebKit\WebKitTools\Drosera\win\ServerConnection.h(34) : fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory DebuggerDocumentPlatform.cpp c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory Drosera.cpp c:\cygwin\webkit\webkit\webkittools\drosera\win\Drosera.h(34) : fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory ServerConnection.cpp c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory Generating Code... Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) From: Brent Fulgham [mailto:[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>] Sent: Tuesday, March 04, 2008 8:27 PM To: Bailey, Richard Cc: webkit-dev@lists.webkit.org<mailto:webkit-dev@lists.webkit.org>; Daniel Zucker Subject: Re: [webkit-dev] Errors during Windows Cairo compile Richard, Problem #1: It looks like your source is out of date. platform/win/PlatformScrollBarWin.cpp has been in the SVN archive for a few days now. Problem #2: There's something weird about the 'jmorecfg.h' file. It's trying to define some basic Windows types needed for compiling. It's acting like it doesn't recognize your development environment as Windows. -Brent On Mar 4, 2008, at 5:15 PM, Bailey, Richard wrote: I deleted WebKit/Output and WebKit/WebKitBuild and reran build-webkit I then search for all the build.htm and sorted in time and backtracked to earliest one showing errors. Attached is BuildLog from WebCore And below are the errors. PlatformScrollBarWin.cpp c1xx : fatal error C1083: Cannot open source file: '..\platform\win\PlatformScrollBarWin.cpp': No such file or directory JPEGImageDecoder.cpp c:\graphics_formats\jpeg-6b\jmorecfg.h(161) : error C2371: 'INT32' : redefinition; different basic types C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\basetsd.h(62) : see declaration of 'INT32' c:\graphics_formats\jpeg-6b\jmorecfg.h(215) : w
Re: [webkit-dev] Errors during Windows Cairo compile
Richard, The current error message looks like the generated files are not being built. This might be due to missing Cygwin tools. If you had Cygwin installed before trying to build WebKit, you might have been tempted to avoid using the Apple Installer (I know I was!). The problem is that there are certain tools required that you might not have installed. For me, the problem was that I had not installed gperf (the perfect hash generator), so some of the auto-generated files were not being created. An annoying problem is that sometimes a "build-webkit --clean" does not get rid of everything necessary. In those cases you will be forced to delete the WebKitBuild directory. In your case, the complaints about "WebCore/COMPtr.h" missing are confusing because you can probably see it in "platform/win/COMPtr.h". So what gives? The build is actually looking in WebKitBuild/include/WebCore for COMPtr.h, so the fact that it is missing indicates that the post-build step that copies things from WebCore/platform/* to WebKitBuild/include failed. Scour the build logs and you will find enlightenment! -Brent On Wed, Mar 5, 2008 at 11:16 AM, Bailey, Richard <[EMAIL PROTECTED]> wrote: > Yes, my code was out of sync. I've done update-webkit and rebuilt. > > > > I now get the following errors suggesting that WebCore did not build? I > see no BuildLog.htm for WebCore. > > JavaScriptCore BuildLog.htm looks fine. > > > > Also, is there a way to build everything cleanly? I tried –clean flag > without success. (it seemed like a noop) > > > > Thanks for all the help, > > Richard > > > > > > Performing Pre-Build Event... > > Compiling... > > DebuggerClient.cpp > > c:\cygwin\webkit\webkit\webkittools\drosera\win\DebuggerClient.h(35) : > fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such > file or directory > > DebuggerDocument.cpp > > c:\cygwin\WebKit\WebKit\WebKitTools\Drosera\win\ServerConnection.h(34) : > fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such > file or directory > > DebuggerDocumentPlatform.cpp > > c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : > fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such > file or directory > > Drosera.cpp > > c:\cygwin\webkit\webkit\webkittools\drosera\win\Drosera.h(34) : fatal > error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or > directory > > ServerConnection.cpp > > c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : > fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such > file or directory > > Generating Code... > > Project : warning PRJ0018 : The following environment variables were not > found: > > $(PRODUCTION) > > > > > > *From:* Brent Fulgham [mailto:[EMAIL PROTECTED] > *Sent:* Tuesday, March 04, 2008 8:27 PM > *To:* Bailey, Richard > *Cc:* webkit-dev@lists.webkit.org; Daniel Zucker > > *Subject:* Re: [webkit-dev] Errors during Windows Cairo compile > > > > Richard, > > > > Problem #1: It looks like your source is out of date. > platform/win/PlatformScrollBarWin.cpp has been in the SVN archive for a few > days now. > > Problem #2: There's something weird about the 'jmorecfg.h' file. It's > trying to define some basic Windows types needed for compiling. It's acting > like it doesn't recognize your development environment as Windows. > > > > -Brent > > > > > > > > On Mar 4, 2008, at 5:15 PM, Bailey, Richard wrote: > > > > I deleted WebKit/Output and WebKit/WebKitBuild and reran build-webkit > > > > I then search for all the build.htm and sorted in time and backtracked to > earliest one showing errors. > > > > Attached is BuildLog from WebCore > > And below are the errors. > > > > > > PlatformScrollBarWin.cpp > > c1xx : fatal error C1083: Cannot open source file: > '..\platform\win\PlatformScrollBarWin.cpp': No such file or directory > > > > JPEGImageDecoder.cpp > > c:\graphics_formats\jpeg-6b\jmorecfg.h(161) : error C2371: 'INT32' : > redefinition; different basic types > > C:\Program Files\Microsoft Platform SDK for Windows Server 2003 > R2\Include\basetsd.h(62) : see declaration of 'INT32' > > c:\graphics_formats\jpeg-6b\jmorecfg.h(215) : warning C4005: 'FAR' : macro > redefinition > > C:\Program Files\Microsoft Platform SDK for Windows Server 2003 > R2\Include\windef.h(145) : see previous definition of
Re: [webkit-dev] Errors during Windows Cairo compile
Yes, my code was out of sync. I've done update-webkit and rebuilt. I now get the following errors suggesting that WebCore did not build? I see no BuildLog.htm for WebCore. JavaScriptCore BuildLog.htm looks fine. Also, is there a way to build everything cleanly? I tried -clean flag without success. (it seemed like a noop) Thanks for all the help, Richard Performing Pre-Build Event... Compiling... DebuggerClient.cpp c:\cygwin\webkit\webkit\webkittools\drosera\win\DebuggerClient.h(35) : fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory DebuggerDocument.cpp c:\cygwin\WebKit\WebKit\WebKitTools\Drosera\win\ServerConnection.h(34) : fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory DebuggerDocumentPlatform.cpp c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory Drosera.cpp c:\cygwin\webkit\webkit\webkittools\drosera\win\Drosera.h(34) : fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory ServerConnection.cpp c:\cygwin\webkit\webkit\webkittools\drosera\win\ServerConnection.h(34) : fatal error C1083: Cannot open include file: 'WebCore/COMPtr.h': No such file or directory Generating Code... Project : warning PRJ0018 : The following environment variables were not found: $(PRODUCTION) From: Brent Fulgham [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2008 8:27 PM To: Bailey, Richard Cc: webkit-dev@lists.webkit.org; Daniel Zucker Subject: Re: [webkit-dev] Errors during Windows Cairo compile Richard, Problem #1: It looks like your source is out of date. platform/win/PlatformScrollBarWin.cpp has been in the SVN archive for a few days now. Problem #2: There's something weird about the 'jmorecfg.h' file. It's trying to define some basic Windows types needed for compiling. It's acting like it doesn't recognize your development environment as Windows. -Brent On Mar 4, 2008, at 5:15 PM, Bailey, Richard wrote: I deleted WebKit/Output and WebKit/WebKitBuild and reran build-webkit I then search for all the build.htm and sorted in time and backtracked to earliest one showing errors. Attached is BuildLog from WebCore And below are the errors. PlatformScrollBarWin.cpp c1xx : fatal error C1083: Cannot open source file: '..\platform\win\PlatformScrollBarWin.cpp': No such file or directory JPEGImageDecoder.cpp c:\graphics_formats\jpeg-6b\jmorecfg.h(161) : error C2371: 'INT32' : redefinition; different basic types C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\basetsd.h(62) : see declaration of 'INT32' c:\graphics_formats\jpeg-6b\jmorecfg.h(215) : warning C4005: 'FAR' : macro redefinition C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\windef.h(145) : see previous definition of 'FAR' c:\graphics_formats\jpeg-6b\jmorecfg.h(227) : error C2371: 'boolean' : redefinition; different basic types c:\program files\microsoft platform sdk for windows server 2003 r2\include\rpcndr.h(147) : see declaration of 'boolean' ..\platform\image-decoders\jpeg\JPEGImageDecoder.cpp(166) : warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable PNGImageDecoder.cpp ..\platform\image-decoders\png\PNGImageDecoder.cpp(100) : warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable From: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> [mailto:[EMAIL PROTECTED] On Behalf Of Bailey, Richard Sent: Tuesday, March 04, 2008 4:10 PM To: Brent Fulgham Cc: webkit-dev@lists.webkit.org<mailto:webkit-dev@lists.webkit.org>; Daniel Zucker Subject: Re: [webkit-dev] Errors during Windows Cairo compile Hi Brent, Here is the buildlog from javascriptcore. No errors but a bunch of 0 Files copied in the post-build step. Also, I do not have a JavaScriptCoreGlue or a JavaScriptGlue in my Output/obj path Thanks, Richard From: Brent Fulgham [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2008 4:00 PM To: Bailey, Richard Cc: Daniel Zucker; webkit-dev@lists.webkit.org<mailto:webkit-dev@lists.webkit.org> Subject: Re: [webkit-dev] Errors during Windows Cairo compile Hi Richard, These errors indicates than an earlier build step failed. Take a look at the JavaScriptCore or other build logs to see which one failed first. The usual build order is something like: JavaScriptCore JavaScriptCoreGlue WebCore WebKit -Brent On Tue, Mar 4, 2008 at 3:21 PM, Bailey, Richard <[EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]>> wrote: Compiling... MarshallingHelpers.cpp ..\MarshallingHelpers.cpp(31) : fatal error C1083: Cannot open include file: &
Re: [webkit-dev] Errors during Windows Cairo compile
Richard, Problem #1: It looks like your source is out of date. platform/win/ PlatformScrollBarWin.cpp has been in the SVN archive for a few days now. Problem #2: There's something weird about the 'jmorecfg.h' file. It's trying to define some basic Windows types needed for compiling. It's acting like it doesn't recognize your development environment as Windows. -Brent On Mar 4, 2008, at 5:15 PM, Bailey, Richard wrote: I deleted WebKit/Output and WebKit/WebKitBuild and reran build-webkit I then search for all the build.htm and sorted in time and backtracked to earliest one showing errors. Attached is BuildLog from WebCore And below are the errors. PlatformScrollBarWin.cpp c1xx : fatal error C1083: Cannot open source file: '..\platform\win \PlatformScrollBarWin.cpp': No such file or directory JPEGImageDecoder.cpp c:\graphics_formats\jpeg-6b\jmorecfg.h(161) : error C2371: 'INT32' : redefinition; different basic types C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\basetsd.h(62) : see declaration of 'INT32' c:\graphics_formats\jpeg-6b\jmorecfg.h(215) : warning C4005: 'FAR' : macro redefinition C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\windef.h(145) : see previous definition of 'FAR' c:\graphics_formats\jpeg-6b\jmorecfg.h(227) : error C2371: 'boolean' : redefinition; different basic types c:\program files\microsoft platform sdk for windows server 2003 r2\include\rpcndr.h(147) : see declaration of 'boolean' ..\platform\image-decoders\jpeg\JPEGImageDecoder.cpp(166) : warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable PNGImageDecoder.cpp ..\platform\image-decoders\png\PNGImageDecoder.cpp(100) : warning C4611: interaction between '_setjmp' and C++ object destruction is non-portable From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] ] On Behalf Of Bailey, Richard Sent: Tuesday, March 04, 2008 4:10 PM To: Brent Fulgham Cc: webkit-dev@lists.webkit.org; Daniel Zucker Subject: Re: [webkit-dev] Errors during Windows Cairo compile Hi Brent, Here is the buildlog from javascriptcore. No errors but a bunch of 0 Files copied in the post-build step. Also, I do not have a JavaScriptCoreGlue or a JavaScriptGlue in my Output/obj path Thanks, Richard From: Brent Fulgham [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 04, 2008 4:00 PM To: Bailey, Richard Cc: Daniel Zucker; webkit-dev@lists.webkit.org Subject: Re: [webkit-dev] Errors during Windows Cairo compile Hi Richard, These errors indicates than an earlier build step failed. Take a look at the JavaScriptCore or other build logs to see which one failed first. The usual build order is something like: JavaScriptCore JavaScriptCoreGlue WebCore WebKit -Brent On Tue, Mar 4, 2008 at 3:21 PM, Bailey, Richard <[EMAIL PROTECTED]> wrote: Compiling... MarshallingHelpers.cpp ..\MarshallingHelpers.cpp(31) : fatal error C1083: Cannot open include file: 'WebCore/IntRect.h': No such file or directory WebCoreLocalizedStrings.cpp ..\WebCoreLocalizedStrings.cpp(28) : fatal error C1083: Cannot open include file: 'WebCore/IntSize.h': No such file or directory WebInspectorClient.cpp c:\cygwin\webkit\webkit\webkit\win\WebDatabaseManager.h(32) : fatal error C1083: Cannot open include file: 'WebCore/ DatabaseTrackerClient.h': No such file or directory WebKitDLL.cpp ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Errors during Windows Cairo compile
On 04/03/2008, at 16:10, Bailey, Richard wrote: Hi Brent, Here is the buildlog from javascriptcore. No errors but a bunch of 0 Files copied in the post-build step. Also, I do not have a JavaScriptCoreGlue or a JavaScriptGlue in my Output/obj path JavaScriptGlue is a Mac-only project. - Mark smime.p7s Description: S/MIME cryptographic signature ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Re: [webkit-dev] Errors during Windows Cairo compile
Hi Richard, These errors indicates than an earlier build step failed. Take a look at the JavaScriptCore or other build logs to see which one failed first. The usual build order is something like: JavaScriptCore JavaScriptCoreGlue WebCore WebKit -Brent On Tue, Mar 4, 2008 at 3:21 PM, Bailey, Richard <[EMAIL PROTECTED]> wrote: > > > > Compiling... > > MarshallingHelpers.cpp > > ..\MarshallingHelpers.cpp(31) : fatal error C1083: Cannot open include > file: 'WebCore/IntRect.h': No such file or directory > > WebCoreLocalizedStrings.cpp > > ..\WebCoreLocalizedStrings.cpp(28) : fatal error C1083: Cannot open > include file: 'WebCore/IntSize.h': No such file or directory > > WebInspectorClient.cpp > > c:\cygwin\webkit\webkit\webkit\win\WebDatabaseManager.h(32) : fatal error > C1083: Cannot open include file: 'WebCore/DatabaseTrackerClient.h': No such > file or directory > > WebKitDLL.cpp > > > ___ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev