[webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread
Hey, dear friends. I succeeded building WebKit from within VS2005 IDE 
with your helps. But I encountered another problem: when I was debugging 
with webkit.dll, no symbols for that dll was loaded and the debugger 
complained that no proper PDB found for webkit.dll, though webkit.pdb 
was placed exactly in the same folder with webkit.dll. I tried manually 
specifying the webkit.pdb file for the webkt.dll. But the compiler 
refused the pdb file for mismatch.


My platform and compliler tools are:
WinXP with sp3
Visual Studio 2005 Professional with sp1

I followed exactyly what the building instructions says and set 
WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR and did no change to any build 
script.


Did you ever enconter this problem before and how did you fix it? Many 
thanks for any help :)




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


Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread
Sorry, I didn't notice that the webkit.dll was not the one I built but 
the one under Safari install dir. What's more, I missed to make it clear 
that I writes a minibrowser of my own, not the WinLauncher demo. And I 
find that


CoCreateInstance(CLSID_WebView, 0, CLSCTX_ALL, IID_IWebView, 
(void**)m_webView);


always locates the webkit.dll under Safary install dir rather than the 
one I compiled no matter what path env I set. If I rename the one under 
Safari dir, then CoCreateInstance(CLSID_WebView, ...) fails!


Do I need to register my webkit.dll as a COM server every time I launch 
my minibrowser for debug? However, I also want my Safari working without 
effects. So, any suggestions?


 原始信息 
主题: [webkit-dev] VS2005 debugger complains that webkit.pdb does not   
match with webkit.dll

发件人: 张雷 zhang@kortide.com.cn
收件人: WebKit Development webkit-dev@lists.webkit.org
日期: 2009-6-20 10:45
Hey, dear friends. I succeeded building WebKit from within VS2005 IDE 
with your helps. But I encountered another problem: when I was 
debugging with webkit.dll, no symbols for that dll was loaded and the 
debugger complained that no proper PDB found for webkit.dll, though 
webkit.pdb was placed exactly in the same folder with webkit.dll. I 
tried manually specifying the webkit.pdb file for the webkt.dll. But 
the compiler refused the pdb file for mismatch.


My platform and compliler tools are:
WinXP with sp3
Visual Studio 2005 Professional with sp1

I followed exactyly what the building instructions says and set 
WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR and did no change to any build 
script.


Did you ever enconter this problem before and how did you fix it? Many 
thanks for any help :)




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



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


Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread
Thanks Brent. But I searched my webkit source for WebKitCreateInstance 
and found nothing. My source is r41121 Nightly Build. Is 
WebKitCreateInstance unavailable in r41121?


 原始信息 
主题: Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does 
not match with webkit.dll

发件人: Brent Fulgham bfulg...@gmail.com
收件人: 张雷 zhang@kortide.com.cn
抄送: WebKit Development webkit-dev@lists.webkit.org
日期: 2009-6-20 12:18

Hi,

I would suggest that you avoid using the CoCreateInstance mechanism 
for instantiation of the WebKit types, and instead use the new



1.  Include the header WebKit/WebKitCOMAPI.h
2.  Link against the WebKitGUID.lib and WebKit.lib
3.  Create your object like so:

HRESULT hr = WebKitCreateInstance(CLSID_WebView, 0, IID_IWebView, 
(void**)gWebView);


The advantages are:

1.  No need to manipulate Internal COM or other manifest stuff.
2.  No more errors that COM can't find your WebKit objects.
3.  Your application will not get confused about Safari's DLL's and 
your own DLL's (assuming you put your WebKit.dll in the same path with 
your application.)


Good luck!

-Brent



On Jun 19, 2009, at 8:47 PM, 张雷 wrote:

Sorry, I didn't notice that the webkit.dll was not the one I built 
but the one under Safari install dir. What's more, I missed to make 
it clear that I writes a minibrowser of my own, not the WinLauncher 
demo. And I find that


CoCreateInstance(CLSID_WebView, 0, CLSCTX_ALL, IID_IWebView, 
(void**)m_webView);


always locates the webkit.dll under Safary install dir rather than 
the one I compiled no matter what path env I set. If I rename the one 
under Safari dir, then CoCreateInstance(CLSID_WebView, ...) fails!


Do I need to register my webkit.dll as a COM server every time I 
launch my minibrowser for debug? However, I also want my Safari 
working without effects. So, any suggestions?


 原始信息 
主题: [webkit-dev] VS2005 debugger complains that webkit.pdb does 
not   match with webkit.dll

发件人: 张雷 zhang@kortide.com.cn
收件人: WebKit Development webkit-dev@lists.webkit.org
日期: 2009-6-20 10:45
Hey, dear friends. I succeeded building WebKit from within VS2005 
IDE with your helps. But I encountered another problem: when I was 
debugging with webkit.dll, no symbols for that dll was loaded and 
the debugger complained that no proper PDB found for webkit.dll, 
though webkit.pdb was placed exactly in the same folder with 
webkit.dll. I tried manually specifying the webkit.pdb file for the 
webkt.dll. But the compiler refused the pdb file for mismatch.


My platform and compliler tools are:
WinXP with sp3
Visual Studio 2005 Professional with sp1

I followed exactyly what the building instructions says and set 
WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR and did no change to any 
build script.


Did you ever enconter this problem before and how did you fix it? 
Many thanks for any help :)




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



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





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


Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not match with webkit.dll

2009-06-19 Thread




Hey, Brent! I figured it out! That's because I didn't give the manifest
tool proper arguments. It should be someting like:

/nologo /tlb:"D:\WebKit-r41121\Output\lib\WebKit.tlb" /dll:"WebKit"
/out:"..\Output\obj\MiniBrowser\Debug\MiniBrowser_debug.exe.embed.manifest"
/notify_update

It can be set from within IDE: Project Property Pages -
Configuration Properties - Manifest Tool - Isolated COM
Set the Type library File to $(WebKitOutputDir)\lib\WebKit.tlb and
Component File Name to WebKit$(WebKitDLLConfigSuffix). According to
MSDN, these can make an exe use a specified COM server.

Then recompile. That's OK!


 原始信息 
主题: Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not
match with webkit.dll
发件人: 张雷 zhang@kortide.com.cn
收件人: Brent Fulgham bfulg...@gmail.com
抄送: WebKit Development webkit-dev@lists.webkit.org
日期: 2009-6-20 13:03
Thanks
Brent. But I searched my webkit source for WebKitCreateInstance and
found nothing. My source is r41121 Nightly Build. Is
WebKitCreateInstance unavailable in r41121?
  
  
 原始信息 
  
主题: Re: [webkit-dev] VS2005 debugger complains that webkit.pdb does not
match with webkit.dll
  
发件人: Brent Fulgham bfulg...@gmail.com
  
收件人: 张雷 zhang@kortide.com.cn
  
抄送: WebKit Development webkit-dev@lists.webkit.org
  
日期: 2009-6-20 12:18
  
  Hi,


I would suggest that you avoid using the CoCreateInstance mechanism for
instantiation of the WebKit types, and instead use the new



1.  Include the header "WebKit/WebKitCOMAPI.h"

2.  Link against the WebKitGUID.lib and WebKit.lib

3.  Create your object like so:


HRESULT hr = WebKitCreateInstance(CLSID_WebView, 0, IID_IWebView,
(void**)gWebView);


The advantages are:


1.  No need to manipulate "Internal COM" or other manifest stuff.

2.  No more errors that COM can't find your WebKit objects.

3.  Your application will not get confused about Safari's DLL's and
your own DLL's (assuming you put your WebKit.dll in the same path with
your application.)


Good luck!


-Brent
    



On Jun 19, 2009, at 8:47 PM, 张雷 wrote:


Sorry, I didn't notice that the webkit.dll
was not the one I built but the one under Safari install dir. What's
more, I missed to make it clear that I writes a minibrowser of my own,
not the WinLauncher demo. And I find that
  
  
CoCreateInstance(CLSID_WebView, 0, CLSCTX_ALL, IID_IWebView,
(void**)m_webView);
  
  
always locates the webkit.dll under Safary install dir rather than the
one I compiled no matter what path env I set. If I rename the one under
Safari dir, then CoCreateInstance(CLSID_WebView, ...) fails!
  
  
Do I need to register my webkit.dll as a COM server every time I launch
my minibrowser for debug? However, I also want my Safari working
without effects. So, any suggestions?
  
  
 原始信息 
  
主题: [webkit-dev] VS2005 debugger complains that webkit.pdb does not  
match with webkit.dll
  
发件人: 张雷 zhang@kortide.com.cn
  
收件人: WebKit Development webkit-dev@lists.webkit.org
  
日期: 2009-6-20 10:45
  
  Hey, dear friends. I succeeded building
WebKit from within VS2005 IDE with your helps. But I encountered
another problem: when I was debugging with webkit.dll, no symbols for
that dll was loaded and the debugger complained that no proper PDB
found for webkit.dll, though webkit.pdb was placed exactly in the same
folder with webkit.dll. I tried manually specifying the webkit.pdb file
for the webkt.dll. But the compiler refused the pdb file for mismatch.


My platform and compliler tools are:

WinXP with sp3

Visual Studio 2005 Professional with sp1


I followed exactyly what the building instructions says and set
WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR and did no change to any build
script.


Did you ever enconter this problem before and how did you fix it? Many
thanks for any help :)




___

webkit-dev mailing list

webkit-dev@lists.webkit.org

http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev


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



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




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


Re: [webkit-dev] Help! I can't survive building WebKit in Visual Studio 2005 IDE!

2009-06-17 Thread




I tried building from the Cygwin command line with
WebKitTools/Scripts/build-webkit --debug. Buf failed with the same
error message. :(

 原始信息 
主题: Re: [webkit-dev] Help! I can't survive building WebKit in Visual
Studio 2005 IDE!
发件人: Ryosuke Niwa rn...@google.com
收件人: WebKit Development webkit-dev@lists.webkit.org
日期: 2009-6-17 17:26
Instead of trying to build from Visual Studio, try
WebKitTools/Scripts/build-webkit --debug on cygwin.
  
  
  Ryosuke
  
  On Tue, Jun 16, 2009 at 8:55 PM, 张雷 zhang@kortide.com.cn
wrote:
  
I tried several times, but
failed always! God damn!
I read all the instructions detailedly. These are my steps: 

Note: I already have VS2005 Professional Edition with sp1(Microsoft
Visual Studio 2005 Team Suite Service Pack 1) patched(But I don't
have the other four suggested hotfixes intalled, for some reason).

1)Install Cygwin with Cygwin downloader(All as instructed to do. Use
Unix style line ending for my Cygwin.). 
2)Installthe QuickTime SDK.
3)Get source code from Nightly Builds(I tried r41121 and the latest
r44697 but failed building either).
4)Place WebKit
Support Libraries in the root of WebKit soruce tree.
5)Set WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR
6)Open WebKit.sln in VS2005 IDE and choose "Debug" and build solution.
Then I get error message complainint that "cannot open include file
'unicode/uchar.h'". Detailed log message is as follows(errors are
marked with red color):

1-- 已启动生成: 项目: _javascript_CoreGenerated, 配置: Release Win32 --
2-- 已启动生成: 项目: record-memory-win, 配置: Release Win32 --
1正在执行生成文件项目操作
2正在编译...
1 xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools"
"D:\WebKit-r41121\WebKitLibraries\win\tools"
1不能执行周期性复制
1复制了 0 个文件
1 touch "D:\WebKit-r41121\Output\buildfailed"
1 bash build-generated-files.sh "D:\WebKit-r41121\Output"
"D:\WebKit-r41121\WebKitLibraries\win"
2main.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/ArrayPrototype.cpp -i 
ArrayPrototype.lut.h
1/cygdrive/d/WEBKIT~1/JAVASC~1/pcre/dftables chartables.c
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/ArrayPrototype.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/DatePrototype.cpp -i 
DatePrototype.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/DatePrototype.cpp
1bison -d -p jscyy /cygdrive/d/WEBKIT~1/JAVASC~1/parser/Grammar.y
-o Grammar.cpp  bison_out.txt 21
2正在链接...
2正在生成代码
1perl -p -e 'END { if ($conflict) { unlink "Grammar.cpp"; die; } }
$conflict ||= /conflict/'  bison_out.txt
2已完成代码的生成
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/parser/Keywords.table  Lexer.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/parser/Keywords.table
2正在嵌入清单...
1touch Grammar.cpp.h
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/MathObject.cpp -i 
MathObject.lut.h
2生成日志保存在“file://D:\WebKit-r41121\Output\obj\record-memory-win\
Release\BuildLog.htm”
2record-memory-win - 0 个错误,0 个警告
1touch Grammar.hpp
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/MathObject.cpp
1cat Grammar.cpp.h Grammar.hpp  Grammar.h
1rm -f Grammar.cpp.h Grammar.hpp bison_out.txt
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/NumberConstructor.cpp -i 
NumberConstructor.lut.h
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpConstructor.cpp -i 
RegExpConstructor.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/NumberConstructor.cpp
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpConstructor.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpObject.cpp -i 
RegExpObject.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpObject.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/StringPrototype.cpp -i 
StringPrototype.lut.h
1perl /cygdrive/d/WEBKIT~1/JAVASC~1/docs/make-bytecode-docs.pl
/cygdrive/d/WEBKIT~1/JAVASC~1/interpreter/Interpreter.cpp
docs/bytecode.html
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/StringPrototype.cpp
1UNDOCUMENTED: get_by_id_self_list
1UNDOCUMENTED: get_by_id_proto_list
1 mkdir 2NUL
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1 xcopy /y /d "..\..\API\APICast.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\APICast.h
1复制了 1 个文件
1 xcopy /y /d "..\..\API\_javascript_.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\_javascript_.h
1复制了 1 个文件
1 xcopy /y /d "..\..\API\JSBase.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\JSBase.h
1复制了 1 个文件
1 xcopy /

Re: [webkit-dev] Help! I can't survive building WebKit in Visual Studio 2005 IDE!

2009-06-17 Thread




What's WebKitAuxiliaryLibrary.zip? I searched it in my WebKit source
folder but found none.

 原始信息 
主题: Re: [webkit-dev] Help! I can't survive building WebKit in Visual
Studio 2005 IDE!
发件人: Takeshi Yoshino tyosh...@google.com
收件人: Ryosuke Niwa rn...@google.com
抄送: WebKit Development webkit-dev@lists.webkit.org
日期: 2009-6-17 17:31
Or just runWebKitTools/Scripts/update-webkit and then
WebKitTools/Scripts/update-webkit-support-libs to fetch and extract
both WebKitAuxiliaryLibrary.zip and WebKitSupportLibrary.zip .
  And then you'll be able to build using
WebKit/win/WebKit.vcproj/WebKit.sln .
  
  
  Thanks,
  
  
  Takeshi
  
  
  2009/6/17 Ryosuke Niwa rn...@google.com
  You
should still be able to use VS.net debugger with it.

2009/6/17 Ryosuke Niwa rn...@google.com



Instead
of trying to build from Visual Studio, try
WebKitTools/Scripts/build-webkit --debug on cygwin.
  
  
  Ryosuke
  
  
  
  
  On Tue, Jun 16, 2009 at 8:55 PM, 张雷 zhang@kortide.com.cn wrote:
  
  
  


I tried several times,
but failed always! God damn!
I read all the instructions detailedly. These are my steps: 

Note: I already have VS2005 Professional Edition with sp1(Microsoft
Visual Studio 2005 Team Suite Service Pack 1) patched(But I don't
have the other four suggested hotfixes intalled, for some reason).

1)Install Cygwin with Cygwin downloader(All as instructed to do. Use
Unix style line ending for my Cygwin.). 
2)Installthe QuickTime SDK.
3)Get source code from Nightly Builds(I tried r41121 and the latest
r44697 but failed building either).
4)Place WebKit
Support Libraries in the root of WebKit soruce tree.
5)Set WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR
6)Open WebKit.sln in VS2005 IDE and choose "Debug" and build solution.
Then I get error message complainint that "cannot open include file
'unicode/uchar.h'". Detailed log message is as follows(errors are
marked with red color):

1-- 已启动生成: 项目: _javascript_CoreGenerated, 配置: Release Win32 --
2-- 已启动生成: 项目: record-memory-win, 配置: Release Win32 --
1正在执行生成文件项目操作
2正在编译...
1 xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools"
"D:\WebKit-r41121\WebKitLibraries\win\tools"
1不能执行周期性复制
1复制了 0 个文件
1 touch "D:\WebKit-r41121\Output\buildfailed"
1 bash build-generated-files.sh "D:\WebKit-r41121\Output"
"D:\WebKit-r41121\WebKitLibraries\win"
2main.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/ArrayPrototype.cpp -i 
ArrayPrototype.lut.h
1/cygdrive/d/WEBKIT~1/JAVASC~1/pcre/dftables chartables.c
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/ArrayPrototype.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/DatePrototype.cpp -i 
DatePrototype.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/DatePrototype.cpp
1bison -d -p jscyy /cygdrive/d/WEBKIT~1/JAVASC~1/parser/Grammar.y
-o Grammar.cpp  bison_out.txt 21
2正在链接...
2正在生成代码
1perl -p -e 'END { if ($conflict) { unlink "Grammar.cpp"; die; } }
$conflict ||= /conflict/'  bison_out.txt
2已完成代码的生成
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/parser/Keywords.table  Lexer.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/parser/Keywords.table
2正在嵌入清单...
1touch Grammar.cpp.h
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/MathObject.cpp -i 
MathObject.lut.h
2生成日志保存在“file://D:\WebKit-r41121\Output\obj\record-memory-win\
Release\BuildLog.htm”
2record-memory-win - 0 个错误,0 个警告
1touch Grammar.hpp
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/MathObject.cpp
1cat Grammar.cpp.h Grammar.hpp  Grammar.h
1rm -f Grammar.cpp.h Grammar.hpp bison_out.txt
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/NumberConstructor.cpp -i 
NumberConstructor.lut.h
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpConstructor.cpp -i 
RegExpConstructor.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/NumberConstructor.cpp
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpConstructor.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpObject.cpp -i 
RegExpObject.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpObject.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/StringPrototype.cpp -i 
StringPrototype.lut.h
1perl /cygdrive/d/WEBKIT~1/JAVASC~1/docs/make-bytecode-docs.pl
/cygdrive/d/WEBKIT~1/JAVASC~1/interpreter/Interpreter.cpp
docs/bytecode.html
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/StringPrototype.cpp
1UNDOCUMENTED: get_by_id_self_list
1UNDOCUMENTED: get_by_id_proto_list
1 mkdir 2NUL
&

Re: [webkit-dev] 答复: Help! I can't survive b uilding WebKit in Visual Studio 2005 IDE!

2009-06-17 Thread




OK! I ran WebKit/WebKitTools/Scripts/update-webkit and recompiled and
then I passed! It seems that I lacked WebKitAuxiliaryLibrary.zip
before, but the
instructions(http://webkit.org/building/checkout.html) for checking out
source from Nightly Builds does not say(or at least does not emphasize)
that it's required to run WebKit/WebKitTools/Scripts/update-webkit
first. The followings are my update message:


$ WebKit/WebKitTools/Scripts/update-webkit
Updating OpenSource
Skipped '.'
Subroutine main::tmpnam redefined at
/home/robert/WebKit/WebKitTools/Scripts/web
kitdirs.pm line 33
Subroutine main::tmpfile redefined at
/home/robert/WebKit/WebKitTools/Scripts/we
bkitdirs.pm line 33
Checking Last-Modified date of
WebKitAuxiliaryLibrary.zip...
Downloading WebKitAuxiliaryLibrary.zip...

 % Total % Received % Xferd Average Speed Time Time Time
Current
 Dload Upload Total Spent Left
Speed
100 1077k 100 1077k 0 0 53158 0 0:00:20 0:00:20
--:--:-- 36899

Installing WebKitAuxiliaryLibrary...
The WebKitAuxiliaryLibrary has been sucessfully installed in
/home/robert/WebKit/WebKitLibraries/win


Many thanks to you kindly people for your kind suggestions again. :) I
love you!

 原始信息 
主题: 答复: [webkit-dev] Help! I can't survive building WebKit in Visual
Studio 2005 IDE!
发件人: canquan.shencq canquan.she...@alibaba-inc.com
收件人: '张雷' zhang@kortide.com.cn, 'Ryosuke Niwa'
rn...@google.com
抄送: "'WebKit Development'" webkit-dev@lists.webkit.org
日期: 2009-6-17 18:08

  
  


  
  
  
  Please
run update-webkit
at first.
  
  Btw:
please join in qq
group:8763622 
  
  
  
  
  发件人:
webkit-dev-boun...@lists.webkit.org
[mailto:webkit-dev-boun...@lists.webkit.org] 代表
  张雷
  发送时间: 2009年6月17日 18:05
  收件人: Ryosuke Niwa
  抄送: WebKit Development
  主题: Re: [webkit-dev] Help! I can't survive building WebKit
in Visual
Studio 2005 IDE!
  
  
  I tried building from the Cygwin
command line with
WebKitTools/Scripts/build-webkit --debug. Buf failed with the same
error
message. :(
  
 原始信息 
  主题: Re: [webkit-dev] Help! I can't survive
building
WebKit in Visual Studio 2005 IDE!
  发件人: Ryosuke Niwa rn...@google.com
  收件人: WebKit Development webkit-dev@lists.webkit.org
  日期: 2009-6-17 17:26
  
  
  Instead of trying to build from
Visual Studio, try WebKitTools/Scripts/build-webkit
--debug on cygwin. 
  
  
  
  
  Ryosuke
  
  On Tue, Jun 16, 2009 at 8:55 PM,
  张雷 zhang@kortide.com.cn
wrote:
  
  I tried
several times, but
failed always! God damn!
I read all the instructions detailedly. These are my steps: 
  
Note: I already have VS2005 Professional Edition with sp1(Microsoft Visual Studio 2005
Team Suite
Service Pack 1) patched(But I don't have the other four suggested
hotfixes
intalled, for some reason).
  
1)Install Cygwin with Cygwin downloader(All as instructed to do. Use
Unix style
line ending for my Cygwin.). 
2)Installthe QuickTime SDK.
3)Get source code from Nightly Builds(I tried r41121 and the latest
r44697 but
failed building either).
4)Place WebKit Support Libraries in
the root of
WebKit soruce tree.
5)Set WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR
  6)Open WebKit.sln in VS2005 IDE and choose
"Debug"
and build solution. Then I get error message complainint that "cannot
open
include file 'unicode/uchar.h'". Detailed log message is as
follows(errors
are marked with red color):
  
  1-- 已启动生成: 项目:
_javascript_CoreGenerated, 配置: Release Win32
--
  2-- 已启动生成: 项目:
record-memory-win, 配置: Release Win32 --
  1正在执行生成
文件项目操作
  2正在编译...
  1 xcopy /y/d/e/i
"..\..\..\WebKitLibraries\win\tools"
"D:\WebKit-r41121\WebKitLibraries\win\tools"
  1不能执行周期
性复制
  1复制了 0 个文件
  1 touch "D:\WebKit-r41121\Output\buildfailed"
  1 bash build-generated-files.sh
"D:\WebKit-r41121\Output"
"D:\WebKit-r41121\WebKitLibraries\win"
  2main.cpp
  1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/ArrayPrototype.cpp -i 
ArrayPrototype.lut.h
  1/cygdrive/d/WEBKIT~1/JAVASC~1/pcre/dftables
chartables.c
  1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/ArrayPrototype.cpp
  1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/DatePrototype.cpp -i 
DatePrototype.lut.h
  1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/DatePrototype.cpp
  1bison -d -p jscyy
/cygdrive/d/WEBKIT~1/JAVASC~1/parser/Grammar.y
-o Grammar.cpp  bison_out.txt 21
  2正在链接...
  2正在生成代码
  1perl -p -e 'END { if ($conflict) { unlink
"Grammar.cpp"; die; } } $conflict ||= /conflict/'  bison_out.txt
  2已完成代码的
生成
  1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/parser/Keywords.table  Lexer.lut.h
  1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/parser/Keywords.table
  2正在嵌入清单...
  1touch Grammar.cpp.h
  1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/MathObject.cpp -i 
MathObject.lut.h
  2生成日志保存
在“file://D:\We

[webkit-dev] Help! I can't survive building WebKit in Visual Studio 2005 IDE!

2009-06-16 Thread




I tried several times, but failed always! God damn!
I read all the instructions detailedly. These are my steps: 

Note: I already have VS2005 Professional Edition with sp1(Microsoft
Visual Studio 2005 Team Suite Service Pack 1) patched(But I don't
have the other four suggested hotfixes intalled, for some reason).

1)Install Cygwin with Cygwin downloader(All as instructed to do. Use
Unix style line ending for my Cygwin.). 
2)Installthe QuickTime SDK.
3)Get source code from Nightly Builds(I tried r41121 and the latest
r44697 but failed building either).
4)Place WebKit
Support Libraries in the root of WebKit soruce tree.
5)Set WEBKITOUTPUTDIR and WEBKITLIBRARIESDIR
6)Open WebKit.sln in VS2005 IDE and choose "Debug" and build solution.
Then I get error message complainint that "cannot open include file
'unicode/uchar.h'". Detailed log message is as follows(errors are
marked with red color):

1-- 已启动生成: 项目: _javascript_CoreGenerated, 配置: Release Win32 --
2-- 已启动生成: 项目: record-memory-win, 配置: Release Win32 --
1正在执行生成文件项目操作
2正在编译...
1 xcopy /y/d/e/i "..\..\..\WebKitLibraries\win\tools"
"D:\WebKit-r41121\WebKitLibraries\win\tools"
1不能执行周期性复制
1复制了 0 个文件
1 touch "D:\WebKit-r41121\Output\buildfailed"
1 bash build-generated-files.sh "D:\WebKit-r41121\Output"
"D:\WebKit-r41121\WebKitLibraries\win"
2main.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/ArrayPrototype.cpp -i 
ArrayPrototype.lut.h
1/cygdrive/d/WEBKIT~1/JAVASC~1/pcre/dftables chartables.c
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/ArrayPrototype.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/DatePrototype.cpp -i 
DatePrototype.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/DatePrototype.cpp
1bison -d -p jscyy /cygdrive/d/WEBKIT~1/JAVASC~1/parser/Grammar.y
-o Grammar.cpp  bison_out.txt 21
2正在链接...
2正在生成代码
1perl -p -e 'END { if ($conflict) { unlink "Grammar.cpp"; die; } }
$conflict ||= /conflict/'  bison_out.txt
2已完成代码的生成
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/parser/Keywords.table  Lexer.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/parser/Keywords.table
2正在嵌入清单...
1touch Grammar.cpp.h
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/MathObject.cpp -i 
MathObject.lut.h
2生成日志保存在“file://D:\WebKit-r41121\Output\obj\record-memory-win\
Release\BuildLog.htm”
2record-memory-win - 0 个错误,0 个警告
1touch Grammar.hpp
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/MathObject.cpp
1cat Grammar.cpp.h Grammar.hpp  Grammar.h
1rm -f Grammar.cpp.h Grammar.hpp bison_out.txt
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/NumberConstructor.cpp -i 
NumberConstructor.lut.h
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpConstructor.cpp -i 
RegExpConstructor.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/NumberConstructor.cpp
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpConstructor.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpObject.cpp -i 
RegExpObject.lut.h
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/RegExpObject.cpp
1/cygdrive/d/WEBKIT~1/JAVASC~1/create_hash_table
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/StringPrototype.cpp -i 
StringPrototype.lut.h
1perl /cygdrive/d/WEBKIT~1/JAVASC~1/docs/make-bytecode-docs.pl
/cygdrive/d/WEBKIT~1/JAVASC~1/interpreter/Interpreter.cpp
docs/bytecode.html
1Creating hashtable for
/cygdrive/d/WEBKIT~1/JAVASC~1/runtime/StringPrototype.cpp
1UNDOCUMENTED: get_by_id_self_list
1UNDOCUMENTED: get_by_id_proto_list
1 mkdir 2NUL
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1 xcopy /y /d "..\..\API\APICast.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\APICast.h
1复制了 1 个文件
1 xcopy /y /d "..\..\API\_javascript_.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\_javascript_.h
1复制了 1 个文件
1 xcopy /y /d "..\..\API\JSBase.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\JSBase.h
1复制了 1 个文件
1 xcopy /y /d "..\..\API\JSContextRef.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\JSContextRef.h
1复制了 1 个文件
1 xcopy /y /d "..\..\API\JSObjectRef.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\JSObjectRef.h
1复制了 1 个文件
1 xcopy /y /d "..\..\API\JSStringRef.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\JSStringRef.h
1复制了 1 个文件
1 xcopy /y /d "..\..\API\JSStringRefCF.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\JSStringRefCF.h
1复制了 1 个文件
1 xcopy /y /d "..\..\API\JSStringRefBSTR.h"
"D:\WebKit-r41121\Output\include\_javascript_Core\_javascript_Core"
1..\..\API\JSStringRefBSTR.h
1复制了 1