Table of Contents

Build Rocrail from Source

Compile & Build


Get Rocrail Sources

Git Clone

git clone <repository link>

Updating the local tree

Only the first time a clone is downloaded, afterward only the changes:

cd Rocrail
git pull


Resolve conflicts

Sometimes local changes can conflict with a pull from the repository like:

error: Your local changes to 'rocs/rocs-gen.tar.gz' would be overwritten by merge.  Aborting.
Please, commit your changes or stash them before you can merge.

Solution 1:

git reset --hard
git pull

Solution 2:

git stash
git pull
git stash pop


Build Rocrail from source (Linux)

Use the following commands as a normal user, not as root:

On none i386, or incompatible, Linux distributions a 'make fromtar" is required.


Problems


Main Build Targets

Target Description Remark
all Server and Client.
fromtar Same as all but with pre generated files. Mandatory for none i386 platforms.
server Server only. Automatically uses internal fromtar.