ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

pluginlib build fails: Unknown CMake command "catkin_add_gtest".

asked 2012-10-08 13:02:14 -0600

Bryce Hathaway gravatar image

updated 2013-02-02 10:37:13 -0600

joq gravatar image

What am I missing that would cause this error? For background, I'm attempting to build the velodyne stack from source, because I may need to run the debugger in the future. I have built ros-fuerte from source and installed in /opt/ros/fuerte. I use rosws, roslocate, and rosmake to build stuff from source.

Update: Here's how I built ros-fuerte:

sudo pip install -U rosinstall
rosinstall --catkin ~/ros-underlay
cd ~/ros-underlay
mkdir build
cd build
cd ..
make -j8
sudo make install

That's pretty much what the ros wiki describes. I've left out installing necessary dependencies, of course. Running rosversion ros gives me 1.8.9.

edit retag flag offensive close merge delete


What versions of things have you installed where? Did you get the devel or release branches?

tfoote gravatar image tfoote  ( 2012-10-08 14:34:16 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-10-09 13:43:29 -0600

Bryce Hathaway gravatar image

Alright. I have an answer. When I run

roslocate info pluginlib

it returns

- hg:
    local-name: pluginlib
      repo-name: wg-kforge

Notice there's no version information. So when I use this to update using rosws, I get latest, whereas I really want the one tagged as "fuerte". Once I got the matching version, I was able to build using rosmake. To my dismay, this procedure has failed for geometry, however, but that's a different question.

edit flag offensive delete link more


Thanks. For geometry I noticed that I had to set the branch to "fuerte_devel" and the branch for bullet to "default". I posted a question about this.

sameer gravatar image sameer  ( 2012-11-16 11:50:11 -0600 )edit

Question Tools

1 follower


Asked: 2012-10-08 13:02:14 -0600

Seen: 878 times

Last updated: Oct 09 '12