Web Debug

Fix broken web applications, from servers to clients.

Build webkit with VS2013 and Windows 8.1

OS: Windows 8.1

IDE: Visual Studio 2013

  1. You can build with either Visual Studio 2013 or Visual Studio 2013 express. (Newer versions currently unsupported)
    Use the default options for the installation.
  2. Install Cygwin
    Cygwin is a collection of utilities for Windows that includes not only a Subversion client, but also additional tools that are required to build the WebKit source. We have made a downloader available that automatically collects all of the required packages.
    1. Download cygwin-downloader.zip.
    2. Extract the content of the archive to some folder and start cygwin-downloader.exe from that folder. This will download all the Cygwin packages you need.
    3. When all the packages have finished downloading, the Cygwin installer will launch. Choose Install from Local Directory, then click Next until the install is complete. If you are running Vista, the installer won't be able to launch automatically, so you will have to manually launch Cygwin's Setup.exe.
    4. By default Cygwin will install python 2.7 however build webkit need to use python 2.6.8, so you can choose to install cygwin from internet again and choose python 2.6.8 version.
    5. Select Packages: Search "gcc", expand Devel, select "gcc-g++: GNU Compiler Collection(C++)"
    6. Select Packages: Search "gdb", expand Devel, select "gdb: The GNU Debugger"
    7. Open C:\cygwin\etc\profile
      1. Modify line 32 to PATH="/bin:${PATH}"
      2. Comment line 44-50 (related to TMP variable) by adding '#' at the beginning of each line.

  3. You can download a snapshot of the WebKit source tree from http://nightly.webkit.org/files/WebKit-SVN-source.tar.bz2.
  4. Install the WebKit Support Libraries
    1. Download the WebKit Support Libraries to the root of your source tree (C:\cygwin\home<username>\WebKit). If the file is incorrectly named, rename it to WebKitSupportLibrary.zip. Do not extract its contents.
    2. Install QuickTime SDK and QuickTime or GStreamer
      Download QuickTime SDK for Windows from http://developer.apple.com/quicktime/download/ and install it to the default location (\Program Files\QuickTime SDK). This is needed for media support for the AppleWin port.
  5. Install DirectX SDK
    Download the June 2010 DirectX SDK This is needed for accelerated compositing.
  6. Run Tools/Scripts/update-webkit, if it fails to say CURL: ssl version is unsupported, change the Tools/Scripts/update-webkit-dependency line 85 and line 116 from sslv3 to tlsv1.
  7. Run Tools/Scripts/build-webkit or use Visual Studio to open webkit\Source\WebKit\WebKit.vcxproj\webkit.sln and start build.

Common Build Errors

http://trac.webkit.org/wiki/BuildingOnWindows#CommonBuildErrors

Fork me on GitHub