Setup the build environment

From RobotinoWiki
Revision as of 15:49, 14 October 2011 by Verbeek (talk | contribs)

Using binary packages

Get the openrobotino1 binary packages from the download page.

Building from source

Download the external depencies package. (REC internal \\fileserver\openrobotino_external*)

Unpack the 7z archive to a local harddisk. On Linux

sudo apt-get install p7zip
7zr x openrobotino_external_20101230.7z
find external -wholename "*/bin/*" -exec chmod +x {} \;

Set the environment variable OPENROBOTINO_EXTERNAL_DIR to the full path of the just unpacked external folder.

Get the sources via SVN from http://svn.openrobotino.org/trunk

Use cmake to configure the openrobotino1 folder.

Visual Studio 2010 Express

The express version is missing some headers and the redistributable package. Please install the Windows SDK for your system.

VS2010

Howto build the REC-RPC based API

The current OpenRobotino API will be replaced in the near future by a RPC based infrastructure. The REC-RPC library is a interprocess communication middleware similar to ROS. It is based on Qt and does not have any other dependencies.

Windows:

  • Get the latest Qt libraries from Digia
  • Alternatively build Qt from source

Build REC-RPC

Get the source via SVN:

svn co http://svn.servicerobotics.eu/rec_rpc/trunk source/rec_rpc

Configure the build environment with cmake, build and install:

mkdir build/rec_rpc
cd build/rec_rpc
ccmake ../../source/rec_rpc
make install

Set the environment variable REC_RPC_DIR to the installation directory. The environment variable is used by the other packages to find the FindRecRpc.cmake scripts.