|
wxWebKit |
Main /
BuildInstructionsIMPORTANT: Before getting started, you need to do the following:
Then, open a terminal, then cd into the directory you want to store the webkit sources, and do the following to checkout the WebKit repo on Gitorious: git clone git://gitorious.org/wxwebkit/wxwebkit.git After doing a checkout, then build the sources using the following commands: cd WebKit/WebKitTools/Scripts ./build-webkit --wx This builds JavaScriptCore, WebCore, the wx API wrappers, and the demo. The wxBrowser demo application can be found in WebKit/WebKitBuild/<Configuration>.<Branch>, where configuration will be Release or Debug, whichever you've set. Make sure that needed libraries (such as libwxwebkit, wx libraries, and pre-requisite libs) are on the library's linker path on Unix/OS X, or copy them into the same directory as the executable on Win. Double-click it or run it from the command line to test. If you want more options, control, you can pass arguments to the build system using --makeargs="...". Some options are: -jX: build X files at a time, good for multi-core / multi-processor machines --wxpython: build wxPython bindings -v: Verbose, see more details So, to do a 4X parallel build with wxPython bindings, you would run `build-webkit --wx --makeargs="--wxpython -j4"`. Running the testsAfter you've built wxWebKit successfully, you can run tests by running the run-javascriptcore-tests script, in the same directory as build-webkit. TroubleshootingBuild Issues:
Runtime Issues:
|