Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags. |
Catkin: How to build ViSP lastest release as a catkin package
Description: This tutorial explains how to build ViSP latest release as a catkin packageTutorial Level:
Contents
Introduction
ViSP library is packaged with bloom as a catkin package for ROS groovy, hydro and indigo distro. It can be simply installed using:
sudo apt-get install ros-<distro>-visp
where "<distro>" is either groovy, hydro or indigo.
For some reasons, you may be interested in turning on or off some 3rd-party libraries that are used by ViSP. To this end, you need to rebuild ViSP release from source. Next section explains how to do it.
Installing ViSP from source
ViSP source code as a catkin package is available from GitHub repo https://github.com/lagadic/visp-release
Depending on ROS distro, you need to get the source of the right release branch
cd /tmp git clone -b release/<distro>/visp https://github.com/lagadic/visp-release.git
Now to build and install ViSP latest release just run:
cd /tmp/visp-release cmake -DCMAKE_INSTALL_PREFIX=/opt/ros/<distro> -DCMAKE_INSTALL_LIBDIR=lib . make -j8 sudo make install