Problems to build WebKit on Windows
Hi folks, I have some problems to build WebKit ToT on my Window Env. I'm using Visual C++ express 2005. I've followed the steps win: http://webkit.org/building/tools.html After it I ran update-webkit and build-wekit script I got this build output: http://pastebin.com/x99zta73 Some build errors like: InspectorStorageAgent.cpp ..\inspector\InspectorStorageAgent.cpp(64) : error C2039: 'sqlTransactionFailed' : is not a member of 'WebCore::InspectorFrontend' C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17) : see declaration of 'WebCore::InspectorFrontend' ..\inspector\InspectorStorageAgent.cpp(98) : error C2039: 'sqlTransactionSucceeded' : is not a member of 'WebCore::InspectorFrontend' C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17) : see declaration of 'WebCore::InspectorFrontend' and SVGCSSStyleSelector.cpp c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2217) : error C2065: 'CSSValueButt' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2231) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2249) : error C2065: 'CSSValueMiter' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2255) : error C2065: 'CSSValueBevel' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2263) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2267) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2281) : error C2065: 'CSSValueNonzero' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2284) : error C2065: 'CSSValueEvenodd' : undeclared identifier seems to be related with features disabled (e.g. database, svg) but these featrues were not disabled for the build. As I do not have experience with these Windows build tools, I wonder if someone could give me some directions to get this build ok. Thanks, Diego
________________________________
Date: Tue, 31 Aug 2010 10:16:20 -0400 From: diego.gonzalez@openbossa.org To: webkit-dev@lists.webkit.org Subject: [webkit-dev] Problems to build WebKit on Windows
Hi folks,
I have some problems to build WebKit ToT on my Window Env. I'm using Visual C++ express 2005.
I've followed the steps win: http://webkit.org/building/tools.html After it I ran update-webkit and build-wekit script
I got this build output: http://pastebin.com/x99zta73
Some build errors like:
InspectorStorageAgent.cpp ..\inspector\InspectorStorageAgent.cpp(64) : error C2039: 'sqlTransactionFailed' : is not a member of 'WebCore::InspectorFrontend'
I guess after having built on debian and cygwin, I developed a strategy of grepping source files for missing symbols and trying to find out if there was a way it could be included- this usually points to flags in build scripts etc. I don't have an answer for you but if you want to get familiar with the code this is a great learning experience :) Usually you could identify the #ifdef that killed a member definition and rummage around build settings to get it in there. Obviously if you can't find a def anywhere, that would be a bit of a deadend but with problems I had that didn't come up much. Something to consider until someone answers with specific fix.
C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17) : see declaration of 'WebCore::InspectorFrontend' ..\inspector\InspectorStorageAgent.cpp(98) : error C2039: 'sqlTransactionSucceeded' : is not a member of 'WebCore::InspectorFrontend'
C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17) : see declaration of 'WebCore::InspectorFrontend'
and
SVGCSSStyleSelector.cpp c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2217) : error C2065: 'CSSValueButt' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2231) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2249) : error C2065: 'CSSValueMiter' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2255) : error C2065: 'CSSValueBevel' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2263) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2267) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2281) : error C2065: 'CSSValueNonzero' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2284) : error C2065: 'CSSValueEvenodd' : undeclared identifier
seems to be related with features disabled (e.g. database, svg) but these featrues were not disabled for the build. As I do not have experience with these Windows build tools, I wonder if someone could give me some directions to get this build ok.
Thanks, Diego
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
It is the problem with VC project properties. The build script just remove all the properties from WebKitLibraries/win/tools/vsprops/ by mistake. This problem happens if you use git. I've created a bug about that. https://bugs.webkit.org/show_bug.cgi?id=44050 The dirty hack for this is just create .svn file in WebKitLibraries/win/tools/vsprops/ folder and restore the files from the repository. Regards, Tim. On Tue, Aug 31, 2010 at 6:16 PM, Diego Gonzalez < diego.gonzalez@openbossa.org> wrote:
Hi folks,
I have some problems to build WebKit ToT on my Window Env. I'm using Visual C++ express 2005.
I've followed the steps win: http://webkit.org/building/tools.html After it I ran update-webkit and build-wekit script
I got this build output: http://pastebin.com/x99zta73
Some build errors like:
InspectorStorageAgent.cpp ..\inspector\InspectorStorageAgent.cpp(64) : error C2039: 'sqlTransactionFailed' : is not a member of 'WebCore::InspectorFrontend'
C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17) : see declaration of 'WebCore::InspectorFrontend' ..\inspector\InspectorStorageAgent.cpp(98) : error C2039: 'sqlTransactionSucceeded' : is not a member of 'WebCore::InspectorFrontend'
C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17) : see declaration of 'WebCore::InspectorFrontend'
and
SVGCSSStyleSelector.cpp c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2217) : error C2065: 'CSSValueButt' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2231) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2249) : error C2065: 'CSSValueMiter' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2255) : error C2065: 'CSSValueBevel' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2263) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2267) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2281) : error C2065: 'CSSValueNonzero' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2284) : error C2065: 'CSSValueEvenodd' : undeclared identifier
seems to be related with features disabled (e.g. database, svg) but these featrues were not disabled for the build. As I do not have experience with these Windows build tools, I wonder if someone could give me some directions to get this build ok.
Thanks, Diego
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Hi, Thanks for the feedback! On Tue, Aug 31, 2010 at 12:01 PM, Ilya Tikhonovsky <loislo@chromium.org>wrote:
It is the problem with VC project properties. The build script just remove all the properties from WebKitLibraries/win/tools/vsprops/ by mistake. This problem happens if you use git.
I've created a bug about that. https://bugs.webkit.org/show_bug.cgi?id=44050
The dirty hack for this is just create .svn file in WebKitLibraries/win/tools/vsprops/ folder and restore the files from the repository.
My problem was related to git and your trick solve my build failures. Thanks a lot My problem now is to link the WebKit lib: 11>Compiling resources... 11>Performing Pre-Link Event... 11> 1 file(s) copied. 11> 1 file(s) copied. 11>Linking... 11>fatal error C1083: Cannot open compiler intermediate file: 'C:\cygwin\home\rodribel\webkit\WebKitBuild\lib\WebKitLib.lib': Not enough space 11>LINK : fatal error LNK1257: code generation failed Do you (or anyone) knows about why this linking is exceeding the space? Regards, Diego
Regards, Tim.
On Tue, Aug 31, 2010 at 6:16 PM, Diego Gonzalez < diego.gonzalez@openbossa.org> wrote:
Hi folks,
I have some problems to build WebKit ToT on my Window Env. I'm using Visual C++ express 2005.
I've followed the steps win: http://webkit.org/building/tools.html After it I ran update-webkit and build-wekit script
I got this build output: http://pastebin.com/x99zta73
Some build errors like:
InspectorStorageAgent.cpp ..\inspector\InspectorStorageAgent.cpp(64) : error C2039: 'sqlTransactionFailed' : is not a member of 'WebCore::InspectorFrontend'
C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17) : see declaration of 'WebCore::InspectorFrontend' ..\inspector\InspectorStorageAgent.cpp(98) : error C2039: 'sqlTransactionSucceeded' : is not a member of 'WebCore::InspectorFrontend'
C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17) : see declaration of 'WebCore::InspectorFrontend'
and
SVGCSSStyleSelector.cpp c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2217) : error C2065: 'CSSValueButt' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2231) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2249) : error C2065: 'CSSValueMiter' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2255) : error C2065: 'CSSValueBevel' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2263) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2267) : error C2051: case expression not constant c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2281) : error C2065: 'CSSValueNonzero' : undeclared identifier c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2284) : error C2065: 'CSSValueEvenodd' : undeclared identifier
seems to be related with features disabled (e.g. database, svg) but these featrues were not disabled for the build. As I do not have experience with these Windows build tools, I wonder if someone could give me some directions to get this build ok.
Thanks, Diego
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
I presume this is a release build ... I ran into this problem myself. You can switch to 64Bit OS or turn off "whole program optimization" /GL and corresponding linker flag. Chris On Tue, Aug 31, 2010 at 5:20 PM, Diego Gonzalez <diego.gonzalez@openbossa.org> wrote:
Hi,
Thanks for the feedback!
On Tue, Aug 31, 2010 at 12:01 PM, Ilya Tikhonovsky <loislo@chromium.org> wrote:
It is the problem with VC project properties. The build script just remove all the properties from WebKitLibraries/win/tools/vsprops/ by mistake. This problem happens if you use git. I've created a bug about that. https://bugs.webkit.org/show_bug.cgi?id=44050 The dirty hack for this is just create .svn file in WebKitLibraries/win/tools/vsprops/ folder and restore the files from the repository.
My problem was related to git and your trick solve my build failures. Thanks a lot
My problem now is to link the WebKit lib:
11>Compiling resources... 11>Performing Pre-Link Event... 11> 1 file(s) copied. 11> 1 file(s) copied. 11>Linking... 11>fatal error C1083: Cannot open compiler intermediate file: 'C:\cygwin\home\rodribel\webkit\WebKitBuild\lib\WebKitLib.lib': Not enough space 11>LINK : fatal error LNK1257: code generation failed
Do you (or anyone) knows about why this linking is exceeding the space?
Regards, Diego
Regards, Tim.
On Tue, Aug 31, 2010 at 6:16 PM, Diego Gonzalez <diego.gonzalez@openbossa.org> wrote:
Hi folks,
I have some problems to build WebKit ToT on my Window Env. I'm using Visual C++ express 2005.
I've followed the steps win: http://webkit.org/building/tools.html After it I ran update-webkit and build-wekit script
I got this build output: http://pastebin.com/x99zta73
Some build errors like:
InspectorStorageAgent.cpp ..\inspector\InspectorStorageAgent.cpp(64) : error C2039: 'sqlTransactionFailed' : is not a member of 'WebCore::InspectorFrontend'
C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17) : see declaration of 'WebCore::InspectorFrontend' ..\inspector\InspectorStorageAgent.cpp(98) : error C2039: 'sqlTransactionSucceeded' : is not a member of 'WebCore::InspectorFrontend'
C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17) : see declaration of 'WebCore::InspectorFrontend'
and
SVGCSSStyleSelector.cpp
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2217) : error C2065: 'CSSValueButt' : undeclared identifier
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2231) : error C2051: case expression not constant
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2249) : error C2065: 'CSSValueMiter' : undeclared identifier
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2255) : error C2065: 'CSSValueBevel' : undeclared identifier
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2263) : error C2051: case expression not constant
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2267) : error C2051: case expression not constant
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2281) : error C2065: 'CSSValueNonzero' : undeclared identifier
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2284) : error C2065: 'CSSValueEvenodd' : undeclared identifier
seems to be related with features disabled (e.g. database, svg) but these featrues were not disabled for the build. As I do not have experience with these Windows build tools, I wonder if someone could give me some directions to get this build ok.
Thanks, Diego
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
Thanks a lot. It solve my problem. Regards, Diego On Tue, Aug 31, 2010 at 6:24 PM, Chris Hatko <chatko@gmail.com> wrote:
I presume this is a release build ... I ran into this problem myself. You can switch to 64Bit OS or turn off "whole program optimization" /GL and corresponding linker flag.
Chris
On Tue, Aug 31, 2010 at 5:20 PM, Diego Gonzalez <diego.gonzalez@openbossa.org> wrote:
Hi,
Thanks for the feedback!
On Tue, Aug 31, 2010 at 12:01 PM, Ilya Tikhonovsky <loislo@chromium.org> wrote:
It is the problem with VC project properties. The build script just remove all the properties from WebKitLibraries/win/tools/vsprops/ by mistake. This problem happens if you use git. I've created a bug about that. https://bugs.webkit.org/show_bug.cgi?id=44050 The dirty hack for this is just create .svn file in WebKitLibraries/win/tools/vsprops/ folder and restore the files from
the
repository.
My problem was related to git and your trick solve my build failures. Thanks a lot
My problem now is to link the WebKit lib:
11>Compiling resources... 11>Performing Pre-Link Event... 11> 1 file(s) copied. 11> 1 file(s) copied. 11>Linking... 11>fatal error C1083: Cannot open compiler intermediate file: 'C:\cygwin\home\rodribel\webkit\WebKitBuild\lib\WebKitLib.lib': Not enough space 11>LINK : fatal error LNK1257: code generation failed
Do you (or anyone) knows about why this linking is exceeding the space?
Regards, Diego
Regards, Tim.
On Tue, Aug 31, 2010 at 6:16 PM, Diego Gonzalez <diego.gonzalez@openbossa.org> wrote:
Hi folks,
I have some problems to build WebKit ToT on my Window Env. I'm using Visual C++ express 2005.
I've followed the steps win: http://webkit.org/building/tools.html After it I ran update-webkit and build-wekit script
I got this build output: http://pastebin.com/x99zta73
Some build errors like:
InspectorStorageAgent.cpp ..\inspector\InspectorStorageAgent.cpp(64) : error C2039: 'sqlTransactionFailed' : is not a member of
'WebCore::InspectorFrontend'
C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17)
: see declaration of 'WebCore::InspectorFrontend' ..\inspector\InspectorStorageAgent.cpp(98) : error C2039: 'sqlTransactionSucceeded' : is not a member of 'WebCore::InspectorFrontend'
C:\cygwin\home\rodribel\webkit\WebKitBuild\obj\WebCore\DerivedSources\InspectorFrontend.h(17)
: see declaration of 'WebCore::InspectorFrontend'
and
SVGCSSStyleSelector.cpp
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2217)
: error C2065: 'CSSValueButt' : undeclared identifier
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2231)
: error C2051: case expression not constant
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2249)
: error C2065: 'CSSValueMiter' : undeclared identifier
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2255)
: error C2065: 'CSSValueBevel' : undeclared identifier
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2263)
: error C2051: case expression not constant
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2267)
: error C2051: case expression not constant
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2281)
: error C2065: 'CSSValueNonzero' : undeclared identifier
c:\cygwin\home\rodribel\webkit\webcore\css\CSSPrimitiveValueMappings.h(2284)
: error C2065: 'CSSValueEvenodd' : undeclared identifier
seems to be related with features disabled (e.g. database, svg) but these featrues were not disabled for the build. As I do not have experience with these Windows build tools, I wonder if someone could give me some directions to get this build ok.
Thanks, Diego
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
_______________________________________________ webkit-dev mailing list webkit-dev@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
participants (4)
-
Chris Hatko
-
Diego Gonzalez
-
Ilya Tikhonovsky
-
Mike Marchywka