⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changes between Version 58 and Version 59 of BuildingOnWindows


Ignore:
Timestamp:
Jun 12, 2013, 3:29:20 PM (13 years ago)
Author:
roger_fong@apple.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • BuildingOnWindows

    v58 v59  
    1111== Building from within Visual Studio ==
    1212WebKit can be built from within Visual Studio by setting two environment variables:
    13  * {{{WEBKITOUTPUTDIR}}} - An absolute Windows-style path pointing to the directory where you want the build products to go.
    14  * {{{WEBKITLIBRARIESDIR}}} - An absolute Windows-style path pointing to the WebKitLibraries/win folder in your WebKit checkout.
     13 * {{{WEBKIT_OUTPUTDIR}}} - An absolute Windows-style path pointing to the directory where you want the build products to go.
     14 * {{{WEBKIT_LIBRARIES}}} - An absolute Windows-style path pointing to the WebKitLibraries/win folder in your WebKit checkout.
    1515These environment variables should be set for you the first time you run {{{update-webkit}}}.
    1616
    1717== Common Build Errors ==
    18 === Error spawning cmd.exe / Linker errors ===
    19 Sometimes, Visual Studio complains that it 'cannot spawn cmd.exe'. Should this happen, check if both your Cygwin\bin folder and c:\windows\sytem32 are in the Visual Studio list of executable files (Tools -> Options -> VC++ Directories) and that your Cygwin\bin appears after the Visual Studio bin folders (Otherwise, the wrong link.exe will be used; that is, the Cygwin link.exe will be used instead of the Visual Studio tool of the same name).
    2018=== Missing Autogenerated Files ===
    2119If you have the Visual Studio IDE open while you are performing an {{{update-webkit}}}, you can sometimes run into a strange problem where Visual Studio is unable to locate the autogenerated files.  These files are usually things like HTMLNames.cpp, which are generated by Perl as part of the WebCoreGenerated target.
    … …  
    2523=== Bad line endings ===
    2624When you see errors in WebCore/css/makeprops or WebCore/css/maketokenizer, open those files in a suitable editor (SciTE works) and convert the line endings to LF only (Unix-style). Then restart the build.
    27 
    28 === Visual Studio 2005 ===
    29 
    30 Early versions of Visual Studio 2005 are [http://connect.microsoft.com/VisualStudio/feedback/ViewFeedback.aspx?FeedbackID=101120 missing the library 'Crypt32.lib']. A workaround is to download and install the [http://www.microsoft.com/downloads/details.aspx?familyid=0baf2b35-c656-4969-ace8-e4c0c0716adb&displaylang=en Windows Server 2003 R2 Platform SDK] then copy the file 'Crypt32.lib' from the directory C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Lib to %VSINSTALLDIR%\VC\PlatformSDK\Lib.
    3125
    3226=== Visual C++ Express Edition ===