[webkit-dev] There is a linking error when build webkit on windows 7

Brent Fulgham bfulgham at gmail.com
Tue Jun 18 20:17:07 PDT 2013


Hi SiqinBilige:

On Jun 18, 2013, at 8:03 PM, siqinbilige <siqinbilige at gmail.com> wrote:

> I wan to build webkit on Windows.
> My environment is :
>  Windows 7 Ultimate (Service Pack1) 64bit (japanese)
>  Intel(R) Core(TM) i7 CPU / 12.0GB Memory
>  VC++ 2010 Express
>  Microsoft Windows SDK for windows 7(7.1)
>  Safari 5.1.7

All of that should be fine...

> When I run build-webkit, first failed with libs.
>  1>LINK : fatal error LNK1181: 入力ファイル 'libicuuc.lib' を開けません。

First clue above...

>     1>Base64.obj : error LNK2019: 未解決の外部シンボル _u_charDirection_46 が関数 "enum WTF::Unicode::Direction __cdecl WTF::Unicode::direction(int)" (?direction at Unicode@WTF@@YA?AW4Direction at 12@H at Z) で参照されました。
>     1>StringImpl.obj : error LNK2001: 外部シンボル "_u_charDirection_46" は未解決です。
>     1>WTFString.obj : error LNK2001: 外部シンボル "_u_charDirection_46" は未解決です。
>     1>StringImpl.obj : error LNK2019: 未解決の外部シンボル _u_foldCase_46 が関数 "bool __cdecl 

... second clue.

When we build on Windows, we do not expect to see the version suffix on the function symbols (i.e., the "_u_charDirection_46" should be "_u_charDirection").

This means that the build system was unable to find the "libicuuc.lib" library in its path, and instead is building using the older symbols.

This usually happens when the WebKitSupportLibraries are not installed, or are installed in the wrong place.

Do you have a folder called "WebKitLibraries/win/lib32"?

-Brent



More information about the webkit-dev mailing list