Difference between revisions of "API2 source build"
(Created page with '===Building API2 from source=== Get the source via SVN: <pre> svn co http://svn.openrobotino.org/api/trunk source/api </pre> Configure the build environment with cmake, build and…') |
(→Building the API2 examples on Robotino) |
||
Line 30: | Line 30: | ||
configure(c) 2x, generate(g) | configure(c) 2x, generate(g) | ||
make | make | ||
− | target/example_circle 127.0.0.1 | + | sudo target/example_circle 127.0.0.1 |
</pre> | </pre> | ||
+ | '''Notice''': sudo is available starting with CF card image 3.0. If you are using CF card 2.4 or earlier you have to start a second session logging in as root (password: dorp6) and execute the example from the root session. | ||
===Build Robotino tools and daemons=== | ===Build Robotino tools and daemons=== |
Revision as of 10:38, 16 January 2012
Contents
Building API2 from source
Get the source via SVN:
svn co http://svn.openrobotino.org/api/trunk source/api
Configure the build environment with cmake, build and install:
mkdir build/api cd build/api ccmake ../../source/api make install
On Windows: In case you used a 32bit compiler set the environment variable ROBOTINOAPI2_32_DIR to the installation directory. When you compiled the library with a 64bit compiler set the environment variable ROBOTINOAPI2_64_DIR The environment variable is used by the other packages to find the FindRobotinoApi.cmake scripts. Example: On my system I got
ROBOTINOAPI2_32_DIR=E:\build\robotino_api_win32_vc100\install
On Linux:
make ALL_CREATE_INSTALLER sudo dpkg -i robotino-api-*.deb
Building the API2 examples on Robotino
mkdir -p build/circle cd build/circle ccmake /usr/local/robotino/examples/src/c++/circle/ configure(c) 2x, generate(g) make sudo target/example_circle 127.0.0.1
Notice: sudo is available starting with CF card image 3.0. If you are using CF card 2.4 or earlier you have to start a second session logging in as root (password: dorp6) and execute the example from the root session.
Build Robotino tools and daemons
Windows:
- Get the latest Qt libraries from Digia
- Alternatively build Qt from source
Linux:
- Install libqt4-dev
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
On Windows: In case you used a 32bit compiler set the environment variable RECRPC32_DIR to the installation directory. When you compiled the library with a 64bit compiler set the environment variable RECRPC64_DIR The environment variable is used by the other packages to find the FindRecRpc.cmake scripts. Example: On my system I got
RECRPC32_DIR=E:\build\rec-rpc_win32_vc100\install
On Linux:
make ALL_CREATE_INSTALLER sudo dpkg -i rec-rpc-*.deb
Build Robotino Common
Get the source via SVN:
svn co http://svn.openrobotino.org/common/trunk source/common
Configure the build environment with cmake, build and install:
mkdir build/common cd build/common ccmake ../../source/common make install
On Windows: In case you used a 32bit compiler set the environment variable ROBOTINOCOMMON32_DIR to the installation directory. When you compiled the library with a 64bit compiler set the environment variable ROBOTINOCOMMON64_DIR The environment variable is used by the other packages to find the FindRobotinoCommon.cmake scripts. Example: On my system I got
ROBOTINOCOMMON32_DIR=E:\build\robotino_common_win32_vc100\install
On Linux:
make ALL_CREATE_INSTALLER sudo dpkg -i robotino-common-*.deb
Build Robotino Daemons
Get the source via SVN:
svn co http://svn.openrobotino.org/daemons/trunk source/daemons
Configure the build environment with cmake, build and install:
mkdir build/daemons cd build/daemons ccmake ../../source/daemons make install