Changes between Version 58 and Version 59 of BuildingOnWindows
- Timestamp:
- Jun 12, 2013, 3:29:20 PM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnWindows
v58 v59 11 11 == Building from within Visual Studio == 12 12 WebKit can be built from within Visual Studio by setting two environment variables: 13 * {{{WEBKIT OUTPUTDIR}}} - An absolute Windows-style path pointing to the directory where you want the build products to go.14 * {{{WEBKIT LIBRARIESDIR}}} - 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. 15 15 These environment variables should be set for you the first time you run {{{update-webkit}}}. 16 16 17 17 == 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).20 18 === Missing Autogenerated Files === 21 19 If 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. … … 25 23 === Bad line endings === 26 24 When 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.31 25 32 26 === Visual C++ Express Edition ===