...
- 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)
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 sudo apt-get install \ libqtwebwidget5-dev libqt5webkit5-dev |
---|
You need CMake in at least version 3.1
o install these packages on Ubuntu, do the following:
sudo apt-get install \
git \
gcc \
g++ \
make \
libxml2-dev \
libsdl2-dev \
libsdl2-image-dev \
qtbase5-dev \
libqt5webkit5-dev
Building Corinthia
Not possible
Testing Corinthia
Not possible
To install these packages on Ubuntu, do the following:
sudo apt-get install \
git \
gcc \
g++ \
make \
libxml2-dev \
libsdl2-dev \
libsdl2-image-dev \
qtbase5-dev \
libqt5webkit5-dev
In addition to the above, you also need a recent version of CMake. Some distributions (such as Ubuntu 14.04) currently ship with old versions; you need at least 3. 1 to build Corinthia. 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 and build out the source, do the following:
mkdir incubator-corinthia |
---|
...
Building Corinthia
First time build, which includes generating makefiles:
cd incubator-corinthia |
---|
...
|
---|
...
build |
---|
...
"Unix Makefiles |
---|
...
" .. |
---|
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".
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 |
---|
To check out and build the source, do the following:
git clone https://git-wip-us.apache.org/repos/asf/incubator-corinthia.git
mkdir incubator-corinthia/build
cd incubator-corinthia/build
cmake -G 'Unix Makefiles' ..
make