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

catkin_make is not working!!!

asked 2017-03-10 13:00:47 -0600

saikishor gravatar image

updated 2017-03-10 13:30:29 -0600

ahendrix gravatar image

catkin_make suddenly stopped working. When I am trying I am only getting the below output. Please kindly help. I am using Indigo

Base path: /home/saikishor/catkin_ws

Source space: /home/saikishor/catkin_ws/src

Build space: /home/saikishor/catkin_ws/build

Devel space: /home/saikishor/catkin_ws/devel

Install space: /home/saikishor/catkin_ws/install

WARNING: Package name "soar-to-ros_interface" does not follow the naming conventions. It should start with a lower case letter and only contain lower case letters, digits and underscores.
####
#### Running command: "make cmake_check_build_system" in "/home/saikishor/catkin_ws/build"
####
####
#### Running command: "make -j4 -l4" in "/home/saikishor/catkin_ws/build"
####
[ 50%] Built target ros_project_gencfg

[100%] Built target ros_project
edit retag flag offensive close merge delete

Comments

1

I don't see any error messages in the output. Can you explain what you expect it to be doing, and how it isn't working?

ahendrix gravatar image ahendrix  ( 2017-03-10 13:31:48 -0600 )edit

Yes I also don't see any error, but I want to compile a package with catkin_make The result is nothing, it is not able to create the new nodes!!!!

saikishor gravatar image saikishor  ( 2017-03-10 14:44:13 -0600 )edit

It looks like it built a node called ros_project. You may want to check that there's a package.xml in each package, and it would help if you post your CMakeLists.txt

ahendrix gravatar image ahendrix  ( 2017-03-10 17:58:34 -0600 )edit

Actually, I have created a new package called package_pub_sub, but there is no info about that package and the nodes are not created for that package....

Please find the CMakeLists and Package.xml here:

CMakeLists : http://pastebin.com/X5E5apWM

Package.xml : http://pastebin.com/QHUTAm9G

saikishor gravatar image saikishor  ( 2017-03-11 02:14:47 -0600 )edit

It looks like your package.xml may not be named properly; it should be all lowercase: package.xml (if catkin_make can't detect your package.xml, it won't build your package)

ahendrix gravatar image ahendrix  ( 2017-03-11 04:31:02 -0600 )edit

Yes sir, it was all in lowercase "package.xml", but still this happens. I don't know the reason

saikishor gravatar image saikishor  ( 2017-03-11 04:49:40 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2017-03-11 12:10:56 -0600

Try to change your package name: soar-to-ros_interface to soar_to_ros_interface, remove hyphens and see what happens. This is the only warning given out during compilation.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2017-03-10 13:00:47 -0600

Seen: 3,698 times

Last updated: Mar 11 '17