You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

Micosoft windows is a major platform for corinthia. We work on MS Windows 7 with 32bit as well as 64bit, but regularly compile on other versions.

Currently our executable´s  are not digitally signed, due to restrictions within ASF.

***** Warning: These instructions refer to a new way of building, and is not yet be available on master *****

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

The last generated lib+executable can be downloaded from

Requirements

You need the following tools:

  • git
  • Microsoft Visual Studio (we test with different versions)
  • cmake (min. version 3.1)

And the following libraries:

Library32 bit64 bit
libxml2-devxx
libsdl2-devxx
libsdl2-image-devxx
iconvxx
zlibxx
qtbase5-dev x
libqt5webkit5-dev x

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
tar xvf cmake-3.2.2.tar.gz
cd cmake-3.2.2
./bootstrap
make
sudo make install

To check out  the source, do the following:

mkdir incubator-corinthia
cd incubator-corinthia
git clone https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git

Building Corinthia

First time build, which includes generating makefiles:

cd incubator-corinthia
git pull
mkdir build
cd build
cmake -G "Unix Makefiles" ..
make

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
git pull
cd build
make

If you work locally or in a branch (recommend) do not do a "git pull".

Testing Corinthia

cd inbubator-corinthia
./build/bin/dfutil -test ./tests

 

  • No labels