Ask Your Question
0

Rosdep: Adding dependencies that have to be compiled

asked 2013-02-21 06:03:25 -0500

Oier gravatar image

Hello,

I have to integrate some external dependencies into my ROS packet, that are not available as debs but only source code on github. I thought that you have to declare in your manifest.xml <rosdep name="someNameWhichIsNotOnThebase.yamlList"/>, then create a rosdep.yaml file and put something like

someNameWhichIsNotOnThebase.yamlList: 
  ubuntu: 
mkdir -p ~/ros/ros-deps
    cd ~/ros/ros-deps
    wget --no-check-certificate https://github.com/project/foo/tarball/master
    tar xpvf master
    cd master
    mkdir build
cd build
cmake ..
make -j4
sudo make install

(And I am not sure maybe search in CMakeLists.txt for this lib?) But since it doesn't work, I would like to know how you are supposed to do this. I would be very grateful for your help.

Regards,

Oier

edit retag flag offensive close merge delete

Comments

What is your ROS distro? Are you using catkin? This is quite important for that question.

dornhege gravatar imagedornhege ( 2013-02-21 06:25:12 -0500 )edit

I am using fuerte.

Oier gravatar imageOier ( 2013-02-21 06:29:46 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-02-21 06:35:40 -0500

dornhege gravatar image

updated 2013-02-21 06:36:21 -0500

rosdep changed to rosdep2 in fuerte, so there is no more rosdep.yaml.

You have two possibilities here:

  1. Use catkin for building the code. As the external code seems to be cmake, wrapping that should be really easy. However, I have no idea about the status of catkin in fuerte.
  2. Wrap the code into a ROS package.

The second is probably closer to what you wanted to do originally.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2013-02-21 06:03:25 -0500

Seen: 119 times

Last updated: Feb 21 '13