Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • libxml2-dev
  • libsdl2-dev
  • libsdl2-image-devqtbase5
  • libqt5webwidget-dev (optional only for editor, NON-Apache conform license)
  • libqt5webkit5-dev (optional only for editor, NON-Apache conform license)

Prepare to generate (one time work)

...

sudo apt-get install \

    libxml2-dev libsdl2-dev libsdl2-image-dev qtbase5

sudo apt-get install \

  libqtwebwidget5-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:

...

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.

...

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

Testing Corinthia

...

If you want to build the editor, which is based on a non-conform apache license, please do:

cmake -G "Unix Makefiles" -D NONCONFORM_APACHE=1 ..

Testing Corinthia

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

...