[webkit-help] Building Cairo port

Eric Fortin 2 eric.fortin at ubisoft.com
Wed Apr 25 07:46:05 PDT 2012


Hi,

After checking build-bot, I can see that not only it is down but before it went down, it was getting the same error as I do. It seems that last time it compiled successfully (some tests failing) was on April 17th.

Is the Cairo build officially supported ?

Thanks,

Eric

From: webkit-help-bounces at lists.webkit.org [mailto:webkit-help-bounces at lists.webkit.org] On Behalf Of Eric Fortin 2
Sent: 25 avril 2012 09:42
To: webkit-help at lists.webkit.org
Subject: [webkit-help] Building Cairo port

Hi,

I'm currently trying to build the Cairo port of WebKit and I run into compilation errors. I am currently on revision 115022 which is a nightly build and I can build and run Apple Windows port.

Here are some of the errors I get:

error C2065: 'CGDataConsumerRef' : undeclared identifier
10>..\WebProcess\WebPage\WebPage.cpp(2896): error C3861: 'CGDataConsumerCreateWithCFData': identifier not found
10>..\WebProcess\WebPage\WebPage.cpp(2896): error C2514: 'WTF::RetainPtr' : class has no constructors
10>          C:\Cygwin\home\efortin2\WebKit\WebKitBuild\Debug_Cairo_CFLite\Include\private\wtf/RetainPtr.h(55) : see declaration of 'WTF::RetainPtr'
10>..\WebProcess\WebPage\WebPage.cpp(2898): error C2065: 'CGRect' : undeclared identifier
10>..\WebProcess\WebPage\WebPage.cpp(2898): error C2146: syntax error : missing ';' before identifier 'mediaBox'
10>..\WebProcess\WebPage\WebPage.cpp(2898): error C2065: 'mediaBox' : undeclared identifier
10>..\WebProcess\WebPage\WebPage.cpp(2898): error C3861: 'CGRectMake': identifier not found
10>..\WebProcess\WebPage\WebPage.cpp(2899): error C2065: 'CGContextRef' : undeclared identifier
10>..\WebProcess\WebPage\WebPage.cpp(2899): error C2662: 'WTF::RetainPtr<T>::get' : cannot convert 'this' pointer from 'WTF::RetainPtr' to 'const WTF::RetainPtr<T> &'

I understand the error and know that it fails because it hasn't seen the definition of CGDataConsumer but I'm wondering why the Cairo build is trying to include CoreGraphics stuff. The errors I get are currently all in WebKit2/WebProcess/WebPage/WebPage.cpp which I think, with my little understanding, is supposed to be for all ports.

Here's more info:

OS: Windows 7
Config: Cairo Debug
Caveat: I'm building on VS2010 but as I said, I'm able to build the Apple Windows port.


I must be missing something. Did anyone get this error ?

Thanks,

Eric Fortin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20120425/6f65842f/attachment.html>


More information about the webkit-help mailing list