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

siqinbilige siqinbilige at gmail.com
Tue Jun 18 20:03:35 PDT 2013


Hi,

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

When I run build-webkit, first failed with libs.
  1>LINK : fatal error LNK1181: 入力ファイル 'libicuuc.lib' を開けません。
  1>プロジェクト "V:\WebKit\Source\WTF\WTF.vcxproj\WTF.vcxproj" (build ターゲット)
のビルドが終了しました -- 失敗。
I copy files of  WebKitLibraries\win\lib to WebKitLibraries\win\lib32
and it is passed.

But, failed with link.
            ライブラリ V:\WebKit\WebKitBuild\Release\lib32\WTF.lib とオブジェクト
V:\WebKit\WebKitBuild\Release\lib32\WTF.exp を作成中
     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 WTF::equalIgnoringCase(unsigned char const *,unsigned char const
*,unsigned int)" (?equalIgnoringCase at WTF@@YA_NPBE0I at Z) で参照されました。
     1>StringImpl.obj : error LNK2019: 未解決の外部シンボル _u_strFoldCase_46 が関数
"public: class WTF::PassRefPtr<class WTF::StringImpl> __thiscall
WTF::StringImpl::foldCase(void)" (?foldCase at StringImpl@WTF@
@QAE?AV?$PassRefPtr at VStringImpl@WTF@@@2 at XZ) で参照されました。
     1>StringImpl.obj : error LNK2019: 未解決の外部シンボル _u_strToLower_46 が関数
"public: class WTF::PassRefPtr<class WTF::StringImpl> __thiscall
WTF::StringImpl::lower(void)" (?lower at StringImpl@WTF@
@QAE?AV?$PassRefPtr at VStringImpl@WTF@@@2 at XZ) で参照されました。
     1>StringImpl.obj : error LNK2019: 未解決の外部シンボル _u_tolower_46 が関数
"public: class WTF::PassRefPtr<class WTF::StringImpl> __thiscall
WTF::StringImpl::lower(void)" (?lower at StringImpl@WTF@
@QAE?AV?$PassRefPtr at VStringImpl@WTF@@@2 at XZ) で参照されました。
     1>StringImpl.obj : error LNK2019: 未解決の外部シンボル _u_toupper_46 が関数
"public: class WTF::PassRefPtr<class WTF::StringImpl> __thiscall
WTF::StringImpl::upper(void)" (?upper at StringImpl@WTF@
@QAE?AV?$PassRefPtr at VStringImpl@WTF@@@2 at XZ) で参照されました。
     1>StringImpl.obj : error LNK2019: 未解決の外部シンボル _u_strToUpper_46 が関数
"public: class WTF::PassRefPtr<class WTF::StringImpl> __thiscall
WTF::StringImpl::upper(void)" (?upper at StringImpl@WTF@
@QAE?AV?$PassRefPtr at VStringImpl@WTF@@@2 at XZ) で参照されました。
     1>StringImpl.obj : error LNK2019: 未解決の外部シンボル _u_memcasecmp_46 が関数
"bool __cdecl WTF::equalIgnoringCaseNonNull(class WTF::StringImpl const
*,class WTF::StringImpl const *)" (?equalIgnoringCaseNonNull at WTF
@@YA_NPBVStringImpl at 1@0 at Z) で参照されました。
     1>CollatorICU.obj : error LNK2019: 未解決の外部シンボル _ucol_setAttribute_46
が関数 "private: void __thiscall WTF::Collator::createCollator(void)const "
(?createCollator at Collator@WTF@@ABEXXZ) で参照されました。
     1>CollatorICU.obj : error LNK2019: 未解決の外部シンボル _ucol_open_46 が関数
"private: void __thiscall WTF::Collator::createCollator(void)const "
(?createCollator at Collator@WTF@@ABEXXZ) で参照されました。
     1>CollatorICU.obj : error LNK2019: 未解決の外部シンボル _ucol_getAttribute_46
が関数 "private: void __thiscall WTF::Collator::createCollator(void)const "
(?createCollator at Collator@WTF@@ABEXXZ) で参照されました。
     1>CollatorICU.obj : error LNK2019: 未解決の外部シンボル _ucol_getLocaleByType_46
が関数 "private: void __thiscall WTF::Collator::createCollator(void)const "
(?createCollator at Collator@WTF@@ABEXXZ) で参照されました。
     1>CollatorICU.obj : error LNK2019: 未解決の外部シンボル _ucol_close_46 が関数
"private: void __thiscall WTF::Collator::releaseCollator(void)"
(?releaseCollator at Collator@WTF@@AAEXXZ) で参照されました。
     1>CollatorICU.obj : error LNK2019: 未解決の外部シンボル _ucol_strcoll_46 が関数
"public: enum WTF::Collator::Result __thiscall
WTF::Collator::collate(wchar_t const *,unsigned int,wchar_t const
*,unsigned int)const " (?collate at Collator@WTF@@QBE?AW4Result at 12@PB_WI0I at Z)
で参照されました。
     1>V:\WebKit\WebKitBuild\Release\bin32\WTF.dll : fatal error LNK1120:
外部参照 14 が未解決です。
     1>プロジェクト "V:\WebKit\Source\WTF\WTF.vcxproj\WTF.vcxproj" (build ターゲット)
のビルドが終了しました -- 失敗。

What is wrong with me ? is it a problem of 32/64bit ?

Thanks and Regards,
SiqinBilige
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20130619/c2202415/attachment.html>


More information about the webkit-dev mailing list