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.
------解决方案--------------------
看英文从来不翻译,看完就忘,下次再重新看,权当学英语。
------解决方案--------------------