First install the dependencies:
For unit testing, you'll need the googletest source package. Refer to Install googletest.
Install tools on Ubuntu (working on all tested versions)
Our software integrates the previous dependencies. Note that you will be prompted for your password upon using sudo
a couple of times:
cd # go home
mkdir -p repos; cd repos # create $HOME/repos if it does not exist; then, enter it
git clone --recursive https://github.com/roboticslab-uc3m/tools.git # Download tools software from the repository; Use --recursive to get embedded repositories (technically, git submodules)
cd tools; mkdir build; cd build; cmake .. # Configure the tools software
make -j$(nproc) # Compile
sudo make install # Install :-)
For CMake find_package(ROBOTICSLAB_TOOLS REQUIRED)
, you may also be interested in adding the following to your ~/.bashrc
or ~/.profile
:
export ROBOTICSLAB_TOOLS_DIR=$HOME/repos/tools/build # Points to where TEOConfig.cmake is generated upon running CMake
For additional options use ccmake
instead of cmake
.