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

Brent Fulgham bfulgham at gmail.com
Tue Jun 18 20:41:31 PDT 2013


Hi Siqinbilige:

On Jun 18, 2013, at 8:31 PM, ビリゴ スチン <siqinbilige at gmail.com> wrote:

> Yes, There is a WebKitLibraries/win/lib32 folder and also have WebKitLibraries/win/lib folder.
> first, there is one file WebKitSystemInterface.lib.
> I copied the all of the files which including libicuuc.lib from WebKitLibraries/win/lib to WebKitLibraries/win/lib32.
>>> When I run build-webkit, first failed with libs.
>>> 1>LINK : fatal error LNK1181: 入力ファイル 'libicuuc.lib' を開けません。
> was passed.
> But failed when linking.

There is a script that runs at the start of the WTFGenerated build (build-generated-files.sh) that checks for the presence of the lib32/libicuuc.lib file.  It creates a file in your build folder ("${CONFIGURATIONBUILDDIR}/include/private/ICUVersion.h"), which governs whether it is looking for versioned (old-stye) or new-style.

Even though you corrected the library paths, this ICUVersion.h file is probably messing up your build.

Try deleting it (or just changing the "#define U_DISABLE_RENAMING 0" to "#define U_DISABLE_RENAMING 1", and then do a full rebuild.

-Brent 




More information about the webkit-dev mailing list