[webkit-help] Cairo on Windows, Build errors while linking webkit.dll

Thomas Brodt thomas.brodt at porabo.ch
Wed Jul 8 08:31:22 PDT 2009

Hi all

I currently have the following errors for the webkit dll that I can only
partly resolve. The projects that WebKit itself depends on did build
successfully. Has anybody any clue for that?

What I've done so far: I wiped my webkit directory, updated-webkit to
44557 (btw, is there a way to get this svn number after closing
update-webkit?) and applied the cairo Bug 17484
<https://bugs.webkit.org/show_bug.cgi?id=17484> (- Add Windows (Cairo)
support in WebKit.dll ) for config.h and webview.cpp.

Furthermore I had to add an include for winsock2.h to the curl.h as
already proposed in a previous mail in this list (Brent Fulgham on March
16, Re: [webkit-dev] Cairo-build on Windows fails), because otherwise
curl_socket_t could not be defined. Is there a better solution for that
in the meanwhile instead of this hack?

With these changes, I get so far, but now I'm stuck.

Thanks for any pointers


------ Build started: Project: WebKit, Configuration: Release_Cairo
Win32 ------
Performing Pre-Build Event...
cl : Command line warning D9040 : ignoring option '/analyze'; Code
Analysis warnings are not available in this edition of the compiler
Datei * nicht gefunden.
0 Datei(en) kopiert
   Creating library
C:\cygwin\home\thomas\WebKit\WebKitBuild\lib\WebKit.lib and object
LINK : warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other
libs; use /NODEFAULTLIB:library
WebMutableURLRequest.obj : error LNK2001: unresolved external symbol
"public: struct _CFURLRequest const * __thiscall
WebCore::ResourceRequest::cfURLRequest(void)const "
(?cfURLRequest at ResourceRequest@WebCore@@QBEPBU_CFURLRequest@@XZ)
C:\cygwin\home\thomas\WebKit\WebKitBuild\bin\WebKit.dll : fatal error
LNK1120: 1 unresolved externals
Build log was saved at
WebKit - 2 error(s), 2 warning(s)

More information about the webkit-help mailing list