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

catkin_create_pkg error

asked 2013-12-14 14:58:47 -0500

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi , when i use catkin_create_pkg firstpackage std_msgs rospy roscpp , I get the following error message.

usage: catkin_create_pkg [-h] [-s [SYS_DEPS [SYS_DEPS ...]]] [-b [BOOST_COMPS [BOOST_COMPS ...]]] [-V PKG_VERSION] [-D DESCRIPTION] [-l LICENSE] [-a AUTHOR] [-m MAINTAINER] --rosdistro ROSDISTRO name [dependencies [dependencies ...]] catkin_create_pkg: error: argument --rosdistro is required

I am using ros hydro on ubuntu 13.04 and as i am a beginner , can someone please help me answer this question ? thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2014-01-17 14:35:43 -0500

tfoote gravatar image

updated 2014-01-17 14:37:08 -0500

You need to pass it the additional argument "--rosdistro hydro"

It will also pick up if you have ROS_DISTRO=hydro in your environment if you have already sourced the setup.bash from your installation.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2013-12-14 14:58:47 -0500

Seen: 4,900 times

Last updated: Jan 17 '14