Micosoft windows is a major platform for corinthia. We work on MS Windows 7, but regularly compile on other versions.
***** Warning: These instructions refer to a new way of compiling, and might not yet be available ***
Buildbot
We run nightly builds on a MS Windows 7 buildbot slave.
You can see the result here: ci.apache.org/builders (look for corinthia-...)
The detailed log can be downloaded from here tbd
The last generated lib+executable can be downloaded form here: tbd
Requirements
You need the following tools:
- git
- Microsoft Visual Studio
- cmake (min. version 3.1)
And the following libraries:
- libxml2-dev
- libsdl2-dev
- libsdl2-image-dev
- qtbase5-dev
- libqt5webkit5-dev
Prepare to generate (one time work)
The tools must be installed first
sudo apt-get install \ git gcc g++ make cmake |
---|
Then the libraries must be installed
sudo apt-get install \ libxml2-dev libsdl2-dev libsdl2-image-dev qtbase5-dev libqt5webkit5-dev |
---|
You need CMake in at least version 3.1. Some distributions (such as Ubuntu 14.04) currently ship with old versions. Here's how to download & build the latest version from source:
wget http://www.cmake.org/files/v3.2/cmake-3.2.2.tar.gz |
---|
To check out the source, do the following:
mkdir incubator-corinthia |
---|
Building Corinthia
First time build, which includes generating makefiles:
cd incubator-corinthia |
---|
Note that the build directory should be different from the source directory. The example above uses a subdirectory of the source directory, which is fine - but you can also use one in a completely different location as well.
To rebuild the source, do the following:
cd inbubator-corinthia |
---|
If you work locally or in a branch (recommend) do not do a "git pull".
Testing Corinthia
cd inbubator-corinthia |
---|