[webkit-help] Reg.Compilation and Link error when build the latest win cairo ...

Vicky Tux ssseintr2 at gmail.com
Thu Nov 24 22:07:49 PST 2011


Hi,
we check out and build the latest webkit[webkit-r101042](Nightly build) on
Windows platform, with Debug_cairo_CFLight options. we face following
compilation errors on build

5>WebView.cpp
5>WidgetBackingStore.h(54) : error C2061: syntax error : identifier
'PlatformWidget'
5>WidgetBackingStore.h(62) : error C2061: syntax error : identifier
'PlatformWidget'
5>Generating Code...
5>Compiling...
.
.
.
5>BackingStore.cpp
5>WidgetBackingStore.h(54) : error C2061: syntax error : identifier
'PlatformWidget'
5>WidgetBackingStore.h(62) : error C2061: syntax error : identifier
'PlatformWidget'
5>Generating Code...
5>Build log was saved at
"file://WebKit-r101042\WebkitBuild\Debug_Cairo_CFLite\obj\WebKit\BuildLog.htm"
5>WebKit - 8 error(s), 0 warning(s)

The PlatformWidget is declared for GTK and EFL platform only not  for cairo
platform so the above error produced.

for your reference original code,
WebKit-r101042\Source\WebCore\platform\cairo\WidgetBackingStore.h

#if PLATFORM(GTK)
typedef GtkWidget* PlatformWidget;
#elif PLATFORM(EFL)
typedef Evas_Object* PlatformWidget;
#endif

I resolved the above error with declared the PlatformWidget for other
platform as follows,

for your reference modified code,
WebKit-r101042\Source\WebCore\platform\cairo\WidgetBackingStore.h

#if PLATFORM(GTK)
typedef GtkWidget* PlatformWidget;
#elif PLATFORM(EFL)
typedef Evas_Object* PlatformWidget;
#else
*typedef  void* PlatformWidget;*
#endif

And also we facing following link error,


5>WebKit_debug.exp : error LNK2001: *unresolved external symbol* "*public:
void __thiscall WebCore::Internals::setMockScrollbarsEnabled(class
WebCore::Document *,bool,int &)*" (?setMockScrollbarsEnabled at Internals
@WebCore@@QAEXPAVDocument at 2@_NAAH at Z)
5>WebKit_debug.dll : fatal error LNK1120: 1 unresolved externals
5>WebKit - 2 error(s), 3 warning(s)


Please help us to solve this issues.

Thanks & Regards,
Vicky.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-help/attachments/20111125/d82d47c9/attachment.html>


More information about the webkit-help mailing list