您的位置:首页 > 产品设计 > UI/UE

Build Webkit 5.31 in vs2005 + Windows XP + Cygwin (update in 2010.2.2)

2010-02-04 07:55 411 查看
Build Webkit in vs2005 + Windows XP

refer:http://www.webkit.org

Visual Studio 2005

a.install Visual Studio 2005 Team Suite

b.install Visual Studio 2005 Service Pack 1

c.install Visual Studio 2005 Service Pack 1 ATL Security Update

(http://www.microsoft.com/downloads/details.aspx?FamilyID=7c8729dc-06a2-4538-a90d-ff9464dc0197&displaylang=en)

d.install hotfixes

KB918559(http://code.msdn.microsoft.com/KB918559)

KB935225(http://code.msdn.microsoft.com/KB935225)

KB943969(http://code.msdn.microsoft.com/KB943969)

KB947315(http://code.msdn.microsoft.com/KB947315)

Cygwin

e.download cygwin-downloader in webkit.org

(http://svn.webkit.org/repository/webkit/trunk/WebKitTools/CygwinDownloader/cygwin-downloader.zip)

f.run cygwin-downloader.exe, Keep all the default options and click Next until the install is complete

QuickTime SDK

g.Download QuickTime SDK for Windows

(http://developer.apple.com/quicktime/download/)

h.install it to the default location (/Program Files/QuickTime SDK)

Source

i.Get Webkit source code.(choose 1 in 3)

1.svn checkout http://svn.webkit.org/repository/webkit/trunk
2.download WebKit Nightly Builds(http://nightly.webkit.org/)

3.run cygwin, cd to where you want to put the code the run this command

"svn checkout http://svn.webkit.org/repository/webkit/trunk WebKit"

Environment Variables

j.Add two Variables

1.$WebKitLibrariesDir -> "E:/Webkit/WebKitLibraries/win"

(For example i put the code in "E:/Webkit/")

2.$WebKitOutputDir-> "E:/Webkit/WebKitBuild"

WebKit Support Libraries

k.Download the WebKit Support Libraries

(http://developer.apple.com/opensource/internet/webkit_sptlib_agree.html)

l.Put it to the root of webkit's source tree (example:E:/webkit/), keep it name "WebKitSupportLibrary.zip". Do not extract

Requirement

m.Download Requirement file package

(http://idisk.mac.com/bfulgham-Public/requirements.zip)

n.extract to /WebKitLibraries/win (example:E:/webkit/WebKitLibraries/win/)

loop:

Update

o.Run cygwin cd to "E:/webkit/WebKitTools/Scripts"

p."./update-webkit" to update your source tree

q."./update-WebKit-Support-libs" to update and install your Libraries

r."./build-WebKit" to prebuild webkit

build webkit in vs2005

s.Change each projects' "treat warning as error" property to false "C++->General"

t.build realese_Cairo

u.goto "loop" if you need to build with the lastest code at another day

any question contact me: CEO@eddsoft.com
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: