Robotics StackExchange | Archived questions

Contributions to ROS installation under Debian

Hello,

I thought it might be useful for other people to share my notes on ROS installation under a Debian box. In my case, I am running "Wheezy" version (testing).

The following steps are to be followed in addition to the official installation steps in:

http://www.ros.org/wiki/fuerte/Installation/Debian

Dependencies to be installed:

aptitude install libogre-dev python-sip-dev libprotobuf-dev protobuf-compiler nvidia-cg-toolkit libprotoc-dev libprotobuf-dev protobuf-compiler libassimp-dev python-qt4-dev

The nvidia-cg-toolkit package must be installed even if your system does not have a NVidia graphics card.

I am not sure on the difference, but ROS looks for the file libflann_cpp-gd.so and Debian packages do not have this library. Just making a soft link seems to solve the issue:

cd /usr/lib/ ln -s libflanncpp.so libflanncpp-gd.so

Install PCL from:

https://github.com/wg-debs/pcl

I recommend using checkinstall instead of doing "make install".

Edit the following files and delete PCL dependencies:

emacs ~/workspace/ros/navigation/costmap_2d/manifest.xml

emacs ~/workspace/ros/simulatorgazebo/gazeboplugins/manifest.xml

emacs ~/workspace/ros/navigation/baselocalplanner/manifest.xml

emacs ~/workspace/ros/imagepipeline/depthimage_proc/manifest.xml

emacs ~/workspace/ros/imagepipeline/depthimage_proc/manifest.xml

Edit the following file and delete protobuf dependency:

emacs ~/workspace/ros/simulator_gazebo/gazebo/manifest.xml

There is a bug in Debian boost versions in versions 1.48 and 1.49 . To compile reviz, edit:

emacs ~/workspace/ros/visualization/rviz/CMakeLists.txt

And add this declaration:

adddefinitions(-DBOOSTTTHASOPERATORHPPINCLUDED)

And that's all!

Now, you should be able to rosmake -a

Regards

Asked by BeLioN on 2012-05-24 20:55:01 UTC

Comments

I gues you could directly edit the wiki page on the same. May be you could ask the moderators about the same. Thanks :)

Asked by karthik on 2012-05-24 23:07:33 UTC

Exactly. I think the wiki page is the right place for this. Feel free to get an account and extend the current Debian instructions.

Asked by Lorenz on 2012-05-25 01:09:35 UTC

Yes! Add this to the wiki! It's open to everyone who uses ROS!

Asked by jbohren on 2012-05-25 14:52:47 UTC

Answers