先帖原文的链接: http://blog.ashodnakashian.com/2012/01/building-webkit-on-windows-7-with-vs2010/
别一个很重要的参考文章:http://hi.baidu.com/lzl124631x/item/96229ce4356e22245a2d64a1
in a previous post I outlined a detailed description of how to build WebKit on Windows XP. My aim was to share with everyone the long and rather tricky process of building the beast that WebKit is. There are many pitfalls, gotchas and critical requirements to get from code to binary to execution. I also did away with the standard and default requirement of VS2005 and opted to go with the newer and less-buggy VS2008. Besides the improvements in this newer version, there was only 1 update to install (SP1) as opposed to the 5 or so that VS2005 required (in addition to QuickTime SDK, Windows 2003 SDK and DirectX SDK), it had a better compiler and, in my experience, caused much less problems (consider for example that newer DirectX SDK doesn’t support VS2005) to build WebKit than VS2005 did.
翻译:在先前的一个帖子里面,我大概地讲解了下怎么在windows XP环境下创建Webkit.我主要的目的是跟大家分享下,编译Webkit这个怪兽的一个长而复杂过程,从配置环境到获取源代码,再到编译和执行,这里有很多的陷阱。我也尝试不用标准的vs2005环境,而选择用更新的更少Bug的vs2008,在更新的环境中,只需要一个下载更新一个包(SP1),而不需像vs2005那样要求QuickTime SDK, Windows2003 SDK和DirextX SDK,这是一个更好的编译器,以我的经验看来,这会在VS2005编译Webkit有更少的问题.
But that was VS2008 and Windows XP. Now, we’ll attempt to build WebKit with VS2010 and on Windows 7. This adds two groups of issues to the mix: One on the compiler/environment level and the other on the OS level. Regarding the issues that Windows 7 brings to the table, see the previous post and here. As before, I’ll build only WinCairo, but you should be well-advised to try the default – CoreGraphics.
Note: While this walk-through should be complete, obviously there are many concepts specific to WebKit and/or the tools, these I won’t repeat here. You don’t need to read the previous post, but if you find some reference that isn’t clear, search for the keyword in question in the previous post. If that doesn’t help, don’t shy from asking in the comments; I’ll get back to you.
翻译: 但是这是在Windows Xp + vs2008环境下,现在我们尝试在Windows7+vs2010下面编译Webkit,这个组合下面有两类问题:一个是编译环境而别一个是操作系统的。关于Windows7带来的问题,你可以点这个链接,查看我以前写的帖子。在此之前,我只编译WinCairo,但是你得谨慎地去尝试默认的-CoreGraphics.
注意:虽然这个试练会成功地编译,明显地webkit以及它的工具还有很多其他的概念,在这里我就不重复了。你不必去读以前的帖子,如果你发现一些参考或术语不是很清晰,你可以去以前的帖子查找关键字来让你更清晰。如果你还是不清楚,不要羞于问我,你在后面的跟贴问我,我会回复你。
Summary
This is a detailed walk-through of getting WebKit built on Windows 7 with VS2010. For the bottom-line and an automated patch just skip the details andjump here. There is a very easy, virtually flawless, two-step, five-click procedure to get from code to binary.
概述: