[webkit-help] (no subject)

guhan.kumar at wipro.com guhan.kumar at wipro.com
Wed Nov 4 21:33:49 PST 2009


Hello All,

I am trying to build webkit on windows using visual studio 8

I am using the cygwin bash shell.
Used the command
WebKit/WebKitTools/Scripts/build-webkit

While compiling webcore i encountered the following errors

RenderObject.cpp
d:\cygwin\home\guhan\webkit\webcore\html\HTMLCanvasElement.cpp(161) : error C2027: use of undefined type 'WebCore::CanvasRenderingContext'
        d:\cygwin\home\guhan\webkit\WebCore\dom\Document.h(49) : see declaration of 'WebCore::CanvasRenderingContext'
d:\cygwin\home\guhan\webkit\webcore\html\HTMLCanvasElement.cpp(161) : error C2039: 'is2d' : is not a member of 'WTF::OwnPtr'
        with
        [
            T=WebCore::CanvasRenderingContext
        ]
d:\cygwin\home\guhan\webkit\webcore\html\HTMLCanvasElement.cpp(164) : error C2247: 'WTF::FastAllocBase::operator new' not accessible because 'WebCore::CanvasRenderingContext2D' uses 'private' to inherit from 'WTFNoncopyable::Noncopyable'
        d:\cygwin\home\guhan\webkit\webkitbuild\include\private\javascriptcore\FastAllocBase.h(94) : see declaration of 'WTF::FastAllocBase::operator new'
        d:\cygwin\home\guhan\webkit\webcore\html\CanvasRenderingContext2D.h(57) : see declaration of 'WebCore::CanvasRenderingContext2D'
        d:\cygwin\home\guhan\webkit\webkitbuild\include\private\javascriptcore\Noncopyable.h(31) : see declaration of 'WTFNoncopyable::Noncopyable'
d:\cygwin\home\guhan\webkit\webcore\html\HTMLCanvasElement.cpp(164) : error C2247: 'WTF::FastAllocBase::operator delete' not accessible because 'WebCore::CanvasRenderingContext2D' uses 'private' to inherit from 'WTFNoncopyable::Noncopyable'
        d:\cygwin\home\guhan\webkit\webkitbuild\include\private\javascriptcore\FastAllocBase.h(101) : see declaration of 'WTF::FastAllocBase::operator delete'
        d:\cygwin\home\guhan\webkit\webcore\html\CanvasRenderingContext2D.h(57) : see declaration of 'WebCore::CanvasRenderingContext2D'
        d:\cygwin\home\guhan\webkit\webkitbuild\include\private\javascriptcore\Noncopyable.h(31) : see declaration of 'WTFNoncopyable::Noncopyable'
d:\cygwin\home\guhan\webkit\webcore\html\HTMLCanvasElement.cpp(164) : error C2679: binary '=' : no operator found which takes a right-hand operand of type 'WebCore::CanvasRenderingContext2D *' (or there is no acceptable conversion)
        d:\cygwin\home\guhan\webkit\webkitbuild\include\private\javascriptcore\OwnPtr.h(74): could be 'WTF::OwnPtr &WTF::OwnPtr::operator =(const WTF::PassOwnPtr &)'
        with
        [
            T=WebCore::CanvasRenderingContext
        ]
        d:\cygwin\home\guhan\webkit\webkitbuild\include\private\javascriptcore\OwnPtr.h(81): or 'WTF::OwnPtr &WTF::OwnPtr::operator =(const WTF::OwnPtr &)'
        with
        [
            T=WebCore::CanvasRenderingContext
        ]
        while trying to match the argument list '(WTF::OwnPtr, WebCore::CanvasRenderingContext2D *)'
        with
        [
            T=WebCore::CanvasRenderingContext
        ]
d:\cygwin\home\guhan\webkit\webcore\html\HTMLCanvasElement.cpp(227) : error C2027: use of undefined type 'WebCore::CanvasRenderingContext'
        d:\cygwin\home\guhan\webkit\WebCore\dom\Document.h(49) : see declaration of 'WebCore::CanvasRenderingContext'
d:\cygwin\home\guhan\webkit\webcore\html\HTMLCanvasElement.cpp(227) : error C2039: 'is2d' : is not a member of 'WTF::OwnPtr'
        with
        [
            T=WebCore::CanvasRenderingContext
        ]
d:\cygwin\home\guhan\webkit\webcore\html\HTMLCanvasElement.cpp(228) : error C2440: 'static_cast' : cannot convert from 'WebCore::CanvasRenderingContext *' to 'WebCore::CanvasRenderingContext2D *'
        Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
d:\cygwin\home\guhan\webkit\webcore\html\HTMLCanvasElement.cpp(228) : error C2227: left of '->reset' must point to class/struct/union/generic type
SelectorNodeList.cpp


Can anyone please help me on this???


Thank you and Regards,
Guhan S







Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. 

www.wipro.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20091105/ae4c0e26/attachment.html>


More information about the webkit-help mailing list