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

roscd, rospack find work, rosmake fails?

asked 2013-07-15 08:17:51 -0500

aespielberg gravatar image

Hey all,

I'm a little stumped on this one. Ubuntu 12.04, ROS groovy, building with rosbuild (porting legacy packages).

I have a package that we've developed that shows up 100% perfectly using a roscd or a rospack find. The problem is, when doing a roslaunch or a rosmake, I get the following errors:

[ rosmake ] rosmake starting...
[ rosmake ] No package or stack specified. And current directory 'track_obj' is not a package name or stack name. [ rosmake ] Packages requested are: []
[ rosmake ] Logging to directory /home/youbot/.ros/rosmake/rosmake_output-20130715-141430 [ rosmake ] Expanded args [] to: []
[ rosmake ] ERROR: No arguments could be parsed into valid package or stack names.

It doesn't matter if I put the package name there, or move to the directory and give it "." it always fails.

My $ROS_PACKAGE_PATH both includes a parent folder and now the actual package folder for good measure.

Why might rospack find work, but rosmake fail?

We're working on some object tracking stuff using OpenCV and so we have some code that works as a standalone C++ project, and also has a ROS wrapper. I'm not sure that part's relevant.

If there are any files I can provide to help diagnose this problem, let me know.

edit retag flag offensive close merge delete



Does the package folder contain a CATKIN_IGNORE file? If yes, you have to remove that file.

Dirk Thomas gravatar image Dirk Thomas  ( 2013-07-15 08:30:51 -0500 )edit

That's it! You should answer for reals so I can give you karma that you can't spend anywhere :-p

aespielberg gravatar image aespielberg  ( 2013-07-15 09:28:01 -0500 )edit

Are you doing the rosmake and roslaunch in the correct folder. I think the issue can only pertain to the CATKIN_IGNORE just as Dirk mentioned or if you are doing it in the wrong folder.

Asfandyar Ashraf Malik gravatar image Asfandyar Ashraf Malik  ( 2013-07-15 23:28:26 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2013-07-15 09:41:09 -0500

Dirk Thomas gravatar image

Does the package folder contain a CATKIN_IGNORE file? If yes, you have to remove that file.

If the file gets regenerated you will need to update your packages. catkin 0.5.69 contains a fix for in-source builds (which is basically what rosmake does). The package might not be available in the public yet but only in shadow-fixed.

edit flag offensive delete link more

Question Tools


Asked: 2013-07-15 08:17:51 -0500

Seen: 1,005 times

Last updated: Jul 15 '13