Difference between revisions of "Setup the build environment"

From RobotinoWiki
 
Line 24: Line 24:
 
[[VS2010]]
 
[[VS2010]]
  
==Howto build the REC-RPC based API==
+
==Robotino API Version 2.0==
The current OpenRobotino API will be replaced in the near future by a RPC based infrastructure. The [http://servicerobotics.eu/weitere-projekte/rec-rpc-library/ REC-RPC] library is a interprocess communication middleware similar to ROS. It is based on Qt and does not have any other dependencies.
+
Read about the new [[API2]]
 
 
Windows:
 
* Get the latest Qt libraries from [http://qt.nokia.com/downloads Digia]
 
* Alternatively build Qt from source
 
 
 
===Build REC-RPC===
 
Get the source via SVN:
 
<pre>
 
svn co http://svn.servicerobotics.eu/rec_rpc/trunk source/rec_rpc
 
</pre>
 
Configure the build environment with cmake, build and install:
 
<pre>
 
mkdir build/rec_rpc
 
cd build/rec_rpc
 
ccmake ../../source/rec_rpc
 
make install
 
</pre>
 
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.
 

Latest revision as of 09:04, 17 October 2011

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

Robotino API Version 2.0

Read about the new API2