Hi Eric, Build is broken for Cairo recently. Looks like changes Brent added as part of https://bugs.webkit.org/show_bug.cgi?id=55956 to resolve WebKit2 build issues got removed by some recent check-in.
We can build it by putting these codes in WebPage.cpp under #if USE(CG) macro. I was getting linking error also on FULLSCREEN API. After removing it from WebKit2.def and WebKit2CFLite.def its fully build and running. Thanks & Regards Lejin On Thu, Apr 26, 2012 at 1:10 AM, Eric Fortin 2 <eric.for...@ubisoft.com>wrote: > I got the build working and I'm working on a patch that I should be able > to send tomorrow. What is chromium/GTK using as far as dependencies go ? I > initially started to look at Cairo to avoid the Apple dependencies because > I need control over every dependency. > > Thanks > > -----Original Message----- > From: John Yani [mailto:van...@gmail.com] > Sent: 25 avril 2012 15:25 > To: Eric Fortin 2 > Cc: webkit-help@lists.webkit.org > Subject: Re: [webkit-help] Building Cairo port > > As far as I can remember cairo build has always had some problems. Try > using Qt or chromium/GTK ports. They're the most active now. > Stiil, if you need cairo build fixed, feel free to submit a bug and attach > your patch. And ask webkit-dev why wincairo bot is offline, and who can > bring it back. > > On 25 April 2012 17:46, Eric Fortin 2 <eric.for...@ubisoft.com> wrote: > > 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-boun...@lists.webkit.org > > [mailto:webkit-help-boun...@lists.webkit.org] On Behalf Of Eric Fortin > > 2 > > Sent: 25 avril 2012 09:42 > > To: webkit-help@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 > > > > > > _______________________________________________ > > webkit-help mailing list > > webkit-help@lists.webkit.org > > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help > > > _______________________________________________ > webkit-help mailing list > webkit-help@lists.webkit.org > http://lists.webkit.org/mailman/listinfo.cgi/webkit-help >
_______________________________________________ webkit-help mailing list webkit-help@lists.webkit.org http://lists.webkit.org/mailman/listinfo.cgi/webkit-help