compiling ros_comm breaks roscore / roslaunch

asked 2017-07-07 11:47:18 -0600

xtracrispy gravatar image

If I'm interpreting things correctly, is it true that core functionality such as roslaunch is a part of ros_comm? - Information and repo attained from here: http://wiki.ros.org/ros_comm

However, what I'm noticing is that there doesn't appear to be make rules for roslaunch etc. Therefore, after I compile, it says that there are no rules for catkin_make roslaunch.

Worse yet, this breaks roscore. Anyone have suggestions? Thanks

edit retag flag offensive close merge delete

Comments

You reference "make rules", but almost all pkgs (if not all) in ros_comm are CMake packages, so that is a bit confusing. How are you (trying to) build(ing) things?

gvdhoorn gravatar image gvdhoorn  ( 2017-07-07 12:07:40 -0600 )edit

catkin_make from the root ros directory. Trying to compile roslaunch for example using "catkin_make roslaunch" results in the no rule error.

xtracrispy gravatar image xtracrispy  ( 2017-07-07 12:09:39 -0600 )edit

I don't think catkin_make $pkg is supported. It should be catkin_make --pkg $pkg.

and:

catkin_make from the root ros directory

you mean the root catkin workspace dir, right?

gvdhoorn gravatar image gvdhoorn  ( 2017-07-07 12:12:18 -0600 )edit

solved the problem, roslaunch and roscore were actually breaking because it could not find msg headers after building from source. Resolved by wiping builds, and then manually compiling std_msgs before calling catkin_make at root. Works now

xtracrispy gravatar image xtracrispy  ( 2017-07-07 13:48:33 -0600 )edit