Installing the Developer Tools

Mac OS X

  1. Install the Xcode Tools package

    Install the Xcode Tools package from http://connect.apple.com. Xcode 2.3 or later is required to build.

  2. Install a Subversion Client

    Subversion (svn) is the source code management tool used by the WebKit Open Source Project. A Subversion 1.4 client for Mac OS X 10.4 is available.

Windows

  1. If you own Visual Studio 2005:

    Install Microsoft Visual Studio 2005 Team Suite Service Pack 1.

    If you are building from Vista, install Service Pack 1 Update for Windows Vista.

    Use the default options for these installations.

  2. If not, you can use Visual C++ Express 2005:

    Install Visual C++ 2005 Express.

    Install Microsoft Visual C++ Express 2005 Service Pack 1.

    If you are building from Vista, install Service Pack 1 Update for Windows Vista.

    Install the Windows Platform SDK. Only steps 2 and 3 are required.

    Use the default options for all installations.

    In addition to the paths specified in step 3 of the Platform SDK installation instructions, you must also add the following include path. Update the Visual C++ directories in the Projects and Solutions section in the Options dialog box:

    C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Include\mfc

  3. 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.

    Download cygwin-downloader.zip.

    Right-click cygwin-downloader.zip and choose Extract All.... Keep all the default options and click Next until the file is extracted and the cygwin-downloader folder opens.

    Double-click cygwin-downloader.exe. This will download all the Cygwin packages you need.

    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.

    Vista may warn you that Cygwin did not install correctly. Ignore this warning and tell Vista that the install was successful.

    If you are running Vista, click on the Start menu, enter the following command, and press Enter:

    C:\cygwin\bin\ash -c /bin/rebaseall

  4. Install QuickTime SDK

    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.

Once you have installed your developer tools, the next step is getting the code.