ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question
0

Install catkin package from source (smach_tutorial)?

asked 2014-02-11 07:23:29 -0600

jkretzmer gravatar image

updated 2014-02-11 09:44:40 -0600

ahendrix gravatar image

Hi there,

I'm having quite a bit of trouble understanding how to get a package installed via catkin. I am hoping to run through the smach tutorials - and this seems to necessitate install the smach_tutorial package. I've noticed that this package is not available via apt-get, I found the source and have checked it out with svn.

When trying to run catkin_make within the directory I am presented with:

"The specified base path "/home/frontier/catkin_ws/src/smach_tutorials/src" contains a CMakeLists.txt but "catkin_make" must be invoked in the root of workspace"

So I followed the ROS catkin tutorials, created a workspace, and created a package for the smach_tutorial. I then added the svn source to the src directory in this package and ran catkin_make install from my workspace. I was presented with:

"Install the project...
-- Install configuration: ""
-- Installing: /home/frontier/catkin_ws/install/.catkin
-- Installing: /home/frontier/catkin_ws/install/_setup_util.py
-- Installing: /home/frontier/catkin_ws/install/env.sh
-- Installing: /home/frontier/catkin_ws/install/setup.bash
-- Installing: /home/frontier/catkin_ws/install/setup.sh
-- Installing: /home/frontier/catkin_ws/install/setup.zsh
-- Installing: /home/frontier/catkin_ws/install/.rosinstall
-- Up-to-date: /home/frontier/catkin_ws/install/etc/catkin/profile.d/05.catkin_make.bash
-- Up-to-date: /home/frontier/catkin_ws/install/etc/catkin/profile.d/05.catkin_make_isolated.bash
-- Installing: /home/frontier/catkin_ws/install/lib/pkgconfig/beginner_tutorials.pc
-- Installing: /home/frontier/catkin_ws/install/share/beginner_tutorials/cmake/beginner_tutorialsConfig.cmake
-- Installing: /home/frontier/catkin_ws/install/share/beginner_tutorials/cmake/beginner_tutorialsConfig-version.cmake
-- Up-to-date: /home/frontier/catkin_ws/install/share/beginner_tutorials/package.xml
-- Installing: /home/frontier/catkin_ws/install/lib/pkgconfig/smach_tutorials.pc
-- Installing: /home/frontier/catkin_ws/install/share/smach_tutorials/cmake/smach_tutorialsConfig.cmake
-- Installing: /home/frontier/catkin_ws/install/share/smach_tutorials/cmake/smach_tutorialsConfig-version.cmake
-- Installing: /home/frontier/catkin_ws/install/share/smach_tutorials/package.xml"

I feel as though there is something obvious that I am missing. Is there a good example on downloading the source for a catkin package and installing it?

Thanks.

edit retag flag offensive close merge delete

Comments

I'm not quite sure I understand the question. What are you expecting `catkin_make install` to do?

ahendrix gravatar image ahendrix  ( 2014-02-11 09:45:35 -0600 )edit

It looks to me everything works just fine, based on the logs you referred you are installing smach_tutorial.

evk02 gravatar image evk02  ( 2014-02-11 09:51:48 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-02-11 11:18:03 -0600

fergs gravatar image

Based on your note about:

"The specified base path "/home/frontier/catkin_ws/src/smach_tutorials/src" contains a CMakeLists.txt but "catkin_make" must be invoked in the root of workspace"

I think you are executing catkin_make in the wrong directory, you should be in "/home/frontier/catkin_ws" when executing catkin_make.

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

1 follower

Stats

Asked: 2014-02-11 07:23:29 -0600

Seen: 1,087 times

Last updated: Feb 11 '14