BTW, this seems to be not a problem any more on the very latest sync.
Instead, there are some link problems:

Creating library
C:\cygwin\home\aliaksb\WebKit\WebKitBuild\Debug_Cairo_CFLite\lib\WebKit_debug.lib
and object 
C:\cygwin\home\aliaksb\WebKit\WebKitBuild\Debug_Cairo_CFLite\lib\WebKit_debug.exp
WebCore_debug.lib(JSBindingsAllInOne.obj) : error LNK2001: unresolved
external symbol "protected: virtual void __thiscall
WTF::ArrayBufferView::neuter(void)"
(?neuter@ArrayBufferView@WTF@@MAEXXZ)
WebCore_debug.lib(DerivedSources.obj) : error LNK2001: unresolved
external symbol "protected: virtual void __thiscall
WTF::ArrayBufferView::neuter(void)"
(?neuter@ArrayBufferView@WTF@@MAEXXZ)
WebCore_debug.lib(DataView.obj) : error LNK2001: unresolved external
symbol "protected: virtual void __thiscall
WTF::ArrayBufferView::neuter(void)"
(?neuter@ArrayBufferView@WTF@@MAEXXZ)
WebCore_debug.lib(JSBindingsAllInOne.obj) : error LNK2001: unresolved
external symbol "public: virtual __thiscall
WTF::ArrayBufferView::~ArrayBufferView(void)"
(??1ArrayBufferView@WTF@@UAE@XZ)
WebCore_debug.lib(DerivedSources.obj) : error LNK2001: unresolved
external symbol "public: virtual __thiscall
WTF::ArrayBufferView::~ArrayBufferView(void)"
(??1ArrayBufferView@WTF@@UAE@XZ)
WebCore_debug.lib(DataView.obj) : error LNK2001: unresolved external
symbol "public: virtual __thiscall
WTF::ArrayBufferView::~ArrayBufferView(void)"
(??1ArrayBufferView@WTF@@UAE@XZ)
WebCore_debug.lib(JSBindingsAllInOne.obj) : error LNK2001: unresolved
external symbol "protected: __thiscall
WTF::ArrayBufferView::ArrayBufferView(class WTF::PassRefPtr,unsigned
int)" (??0ArrayBufferView@WTF@@IAE@V?$PassRefPtr@VArrayBuffer@WTF@@@1@I@Z)
WebCore_debug.lib(DerivedSources.obj) : error LNK2001: unresolved
external symbol "protected: __thiscall
WTF::ArrayBufferView::ArrayBufferView(class WTF::PassRefPtr,unsigned
int)" (??0ArrayBufferView@WTF@@IAE@V?$PassRefPtr@VArrayBuffer@WTF@@@1@I@Z)
WebCore_debug.lib(DataView.obj) : error LNK2001: unresolved external
symbol "protected: __thiscall
WTF::ArrayBufferView::ArrayBufferView(class WTF::PassRefPtr,unsigned
int)" (??0ArrayBufferView@WTF@@IAE@V?$PassRefPtr@VArrayBuffer@WTF@@@1@I@Z)
C:\cygwin\home\aliaksb\WebKit\WebKitBuild\Debug_Cairo_CFLite\bin\WebKit_debug.dll
: fatal error LNK1120: 3 unresolved externals



On Mon, Nov 28, 2011 at 3:59 PM, wkdev911 <[email protected]> wrote:

> Just got similar issue on the latest sync. The WebKit project failed to
> build due to problems in webkit\source\webkit2\uiprocess\BackingStore.h
>
> It has code specific for Cairo:
>
> #if USE(CAIRO) && !PLATFORM(WIN_CAIRO)
> #include <RefPtrCairo.h>
> #include <WebCore/WidgetBackingStore.h>
> #endif
> First, it could not find the <RefPtrCairo.h> in the default include
> folders. After replacing this with <WebCore/RefPtrCairo.h> (where is it
> really located), this transformed to the error of not finding
> WebCore/WidgetBackingStore.h: it is not present in forwarding headers. And
> if you resolve this, you will get the PlatformWidget not defined error
> similar to the below.
>
>
> On Sun, Nov 20, 2011 at 1:35 AM, Chris Waldron 
> <[email protected]>wrote:
>
>> I’m getting a build failure because the variable PlatformWidget in
>> WidgetBackingStore.h is undefined for CAIRO builds.  And this was after I
>> resolved several include file resolution errors.  I had to add the
>> following include directors to the WebKit project to resolve several
>> include files
>> (..\..;..\..\WebCore\platform\graphics\cairo;..\..\WebCore\platform\graphics;)
>> ****
>>
>> ** **
>>
>> Here’s the failing code …****
>>
>> ** **
>>
>> #ifndef WidgetBackingStore_h****
>>
>> #define WidgetBackingStore_h****
>>
>> ** **
>>
>> #include "IntRect.h"****
>>
>> #include "IntSize.h"****
>>
>> #include <wtf/FastAllocBase.h>****
>>
>> #include <wtf/Noncopyable.h>****
>>
>> #include <wtf/PassOwnPtr.h>****
>>
>> ** **
>>
>> #if PLATFORM(GTK)****
>>
>> #include <gtk/gtk.h>****
>>
>> #elif PLATFORM(EFL)****
>>
>> #include <Evas.h>****
>>
>> #endif****
>>
>> ** **
>>
>> namespace WebCore {****
>>
>> ** **
>>
>> class WidgetBackingStorePrivate;****
>>
>> ** **
>>
>> #if PLATFORM(GTK)****
>>
>> typedef GtkWidget* PlatformWidget;****
>>
>> #elif PLATFORM(EFL)****
>>
>> typedef Evas_Object* PlatformWidget;****
>>
>> #endif****
>>
>> ** **
>>
>> class WidgetBackingStore {****
>>
>>     WTF_MAKE_NONCOPYABLE(WidgetBackingStore);****
>>
>>     WTF_MAKE_FAST_ALLOCATED;****
>>
>> ** **
>>
>> public:****
>>
>> ** **
>>
>>     // PlatformWidget is undefined causing a syntax error.  How can I
>> resolve this?****
>>
>>     static PassOwnPtr<WidgetBackingStore> create(PlatformWidget, const
>> IntSize&);  ****
>>
>>     ~WidgetBackingStore();****
>>
>>     cairo_surface_t* cairoSurface();****
>>
>>     void scroll(const IntRect& scrollRect, const IntSize& scrollOffset);*
>> ***
>>
>>     const IntSize& size() { return m_size; }****
>>
>> ** **
>>
>> private:****
>>
>>     WidgetBackingStore(PlatformWidget, const IntSize&);****
>>
>> ** **
>>
>>     OwnPtr<WidgetBackingStorePrivate> m_private;****
>>
>>     IntSize m_size;****
>>
>> };****
>>
>> ** **
>>
>> } // namespace WebCore****
>>
>> ** **
>>
>> #endif // WidgetBackingStore_h****
>>
>> ** **
>>
>> ** **
>>
>> ####### COMPILING 4 FILES USING AT MOST 1 PARALLEL INSTANCES OF cl.exe
>> ###########****
>>
>> WebView.cpp****
>>
>> c:\cygwin\home\webkit\WebKit\Source\WebCore/platform/cairo/WidgetBackingStore.h(49)
>> : error C2061: syntax error : identifier 'PlatformWidget'****
>>
>> c:\cygwin\home\webkit\WebKit\Source\WebCore/platform/cairo/WidgetBackingStore.h(57)
>> : error C2061: syntax error : identifier 'PlatformWidget'****
>>
>> DrawingAreaProxyImpl.cpp****
>>
>> c:\cygwin\home\webkit\WebKit\Source\WebCore/platform/cairo/WidgetBackingStore.h(49)
>> : error C2061: syntax error : identifier 'PlatformWidget'****
>>
>> c:\cygwin\home\webkit\WebKit\Source\WebCore/platform/cairo/WidgetBackingStore.h(57)
>> : error C2061: syntax error : identifier 'PlatformWidget'****
>>
>> BackingStoreWin.cpp****
>>
>> c:\cygwin\home\webkit\WebKit\Source\WebCore/platform/cairo/WidgetBackingStore.h(49)
>> : error C2061: syntax error : identifier 'PlatformWidget'****
>>
>> c:\cygwin\home\webkit\WebKit\Source\WebCore/platform/cairo/WidgetBackingStore.h(57)
>> : error C2061: syntax error : identifier 'PlatformWidget'****
>>
>> BackingStore.cpp****
>>
>> c:\cygwin\home\webkit\WebKit\Source\WebCore/platform/cairo/WidgetBackingStore.h(49)
>> : error C2061: syntax error : identifier 'PlatformWidget'****
>>
>> c:\cygwin\home\webkit\WebKit\Source\WebCore/platform/cairo/WidgetBackingStore.h(57)
>> : error C2061: syntax error : identifier 'PlatformWidget'****
>>
>> Generating Code...****
>>
>> Build log was saved at
>> "file://C:\cygwin\home\webkit\WebKit\WebKitBuild\Release_Cairo_CFLite\obj\WebKit\BuildLog.htm"
>> ****
>>
>> WebKit - 8 error(s), 0 warning(s)****
>>
>> _______________________________________________
>> webkit-help mailing list
>> [email protected]
>> http://lists.webkit.org/mailman/listinfo.cgi/webkit-help
>>
>>
>
_______________________________________________
webkit-help mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-help

Reply via email to