This package is the Core layer of the RobOptim framework. It is released under the LGPL-3 license.
Warning: this repository contains Git
submodules. Please clone this repository using the
git clone --recursive command. If you already have cloned the
repository, you can run
git submodule init && git submodule update
to retrieve the submodules.
For general information about the project, please refer to its homepage: http://www.roboptim.net/
To get started with this library, please read the online Doxygen documentation.
It can also be generated locally by running the
command. After the package is installed, the documentation will be
located in the
$prefix/share/doc/roboptim-core directory where
$prefix is your installation prefix (
/usr/local by default).
Support is provided through:
- the RobOptim mailing-list: firstname.lastname@example.org
- the following Gitter room: https://gitter.im/roboptim/development
How can I install roboptim-core?
First question: do you need to compile this package from source manually?
The answer is yes if:
- There is no native package available for your system and you do not want to use an external system such as RobotPkg to handle your dependencies.
- You want to develop new features for this package and you do not want to use RobotPkg on top of your system to handle this.
If the answer is yes, then please proceed. Otherwise, please checkout the "Available Package" section at the end of this page.
RobOptim uses the following tools:
- Git a source content management system
- CMake (>= 2.8) a build system
- pkg-config dependency tracking tool
- Doxygen a documentation generation tool
- Boost C++ library
- Eigen (>= 3.2) C++ template library for linear algebra
- log4cxx logging framework
- Libtool and its ltdl library for portable plug-in management
- a C++03 compliant modern C++ compiler such as GCC or clang
Compiling and installing the package
The manual compilation requires two steps:
- configuration of the build and generation of the build files
- compilation of the sources and installation of the package
roboptim-core uses CMake to generate build files. It is recommended to create a separate build directory:
mkdir _build # (1) Create a build directory cd _build # (2) Go to the newly created build directory cmake [options] .. # (3) Generate the build files
Options which can be passed to CMake are detailed in the next section.
make # (4) Compile the package make test # (5) Execute the package tests make install # (6) Install the package into the prefix (see step 3)
Additional options can be set on the command line through the
cmake -DCMAKE_BUILD_TYPE=RelWithDebInfo .. will set
CMAKE_BUILD_TYPE option to the value
Available options are:
CMAKE_BUILD_TYPEset the build profile that should be used (debug, release, etc.). We recommend
RelWithDebInfoas it will provide performances while keeping debugging symbols enabled.
CMAKE_INSTALL_PREFIXset the installation prefix (the directory where the software will be copied to after it has been compiled).
Tips and Tricks
How to use Valgrind with the test suite?
All the tests launched by the test suite can be prefixed
with the environment variable
cmake -DCHECK_PREFIX='valgrind --log-file=valgrind.log' .. make && make test
If you want to contribute, please refer to the CONTRIBUTING.md file.
This package authors are credited in the AUTHORS file.
- Debian and derivatives, i.e. Ubuntu (Release 2.0): http://packages.qa.debian.org/r/roboptim-core.html
- Arch Linux (Release 2.0): https://aur.archlinux.org/packages/roboptim-core/
- Arch Linux (Git master branch): https://aur.archlinux.org/packages/roboptim-core-git/
- Fedora (Release 0.5): https://apps.fedoraproject.org/packages/roboptim-core
- Mac OS X Homebrew Formula (Release 2.0 / Git HEAD): https://www.github.com/roboptim/homebrew-roboptim
- RobotPkg (Release 1.0): http://robotpkg.openrobots.org/robotpkg/optimization/roboptim-core/
Development Snapshost ( unstable ):
- Ubuntu Launchpad PPA: https://launchpad.net/~roboptim/+archive/ppa