Changes between Version 13 and Version 14 of BuildingOnWindows
- Timestamp:
- Dec 28, 2007, 5:36:16 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
BuildingOnWindows
v13 v14 2 2 3 3 = Building on Windows = 4 5 4 Follow the instructions on http://webkit.org/building/tools.html to install the necessary developer tools, support libraries, and check out the WebKit code. 6 5 7 6 Note that it is safest to build WebKit in your Cygwin home directory. At the moment, there seems to be an implicit assumption in the build scripts that paths will be relative to the home directory. 8 7 8 == Building from within Visual Studio == 9 WebKit can be built from within Visual Studio by setting two environment variables: 10 * {{{WEBKITOUTPUTDIR}}} - An absolute Windows-style path pointing to the directory where you want the build products to go. 11 * {{{WEBKITLIBRARIESDIR}}} - An absolute Windows-style path pointing to the WebKitLibraries/win folder in your WebKit checkout. 12 9 13 == Common Build Errors == 10 11 14 === Error spawning cmd.exe === 12 15 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 both in the Visual Studio list of executable files (Tools -> Options -> VC++ Directories). … … 23 26 24 27 == Running the tests == 25 26 28 After successfully building WebKit, in order to run the tests you need to copy the DLLs from C:\Program Files\Safari\ into your WebKitBuild\bin folder, otherwise testkjs won't run properly. When you are doing this, be careful not to overwrite the WebKit.dll file in WebKitBuild\bin with the one in C:\Program Files\Safari. (If you use the DOS copy command, it will ask you before overwriting.) 27 28 == Areas needing improvement ==29 30 __TODO__: fill me in?31 32 * Describe DLL registration step