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

2013-06-19 Thread ビリゴ スチン
It works!

The Conclusion is :
We must copy all lib files from WebKitLibraries/win/lib to 
WebKitLibraries/win/lib32 before first build.
It is better to set it default.

Thank you.

 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.


Best Regards.
SiqinBilige

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


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

2013-06-18 Thread Brent Fulgham
Hi SiqinBilige:

On Jun 18, 2013, at 8:03 PM, siqinbilige siqinbil...@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.
  1LINK : fatal error LNK1181: 入力ファイル 'libicuuc.lib' を開けません。

First clue above...

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

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


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

2013-06-18 Thread ビリゴ スチン
Hi brent,
Thank you for your response.

 All of that should be fine...
 
 When I run build-webkit, first failed with libs.
 1LINK : fatal error LNK1181: 入力ファイル 'libicuuc.lib' を開けません。
 
 First clue above...
 
1Base64.obj : error LNK2019: 未解決の外部シンボル _u_charDirection_46 が関数 enum 
 WTF::Unicode::Direction __cdecl WTF::Unicode::direction(int) 
 (?direction@Unicode@WTF@@YA?AW4Direction@12@H@Z) で参照されました。
1StringImpl.obj : error LNK2001: 外部シンボル _u_charDirection_46 は未解決です。
1WTFString.obj : error LNK2001: 外部シンボル _u_charDirection_46 は未解決です。
1StringImpl.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?

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.
 1LINK : fatal error LNK1181: 入力ファイル 'libicuuc.lib' を開けません。
was passed.
But failed when linking.

SiqinBilige.

___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


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

2013-06-18 Thread Brent Fulgham
Hi Siqinbilige:

On Jun 18, 2013, at 8:31 PM, ビリゴ スチン siqinbil...@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.
 1LINK : 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 


___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev