Ask Your Question
0

[solved] rosmake error while making the usarsim_inf package. [closed]

asked 2014-09-23 13:04:26 -0600

Aarif gravatar image

updated 2014-09-26 16:31:59 -0600

hello, i am trying to make usarsim_inf package so that i can connect to the usarsim simulatior. i have cloned this(usarsim_inf) package from git repository, but whenever i run rosmake command to make the package a fatal error occurs.

i am using ros-feurte on ubuntu 12.04

I am using following command to make the package:-

cr-lab-tu@crlabtu-HP-Z800-Workstation:~$ cd usarsimros-code/usarsim_inf/ cr-lab-tu@crlabtu-HP-Z800-Workstation:~/usarsimros-code/usarsim_inf$ export ROS_PACKAGE_PATH=$ROS_PACKAGE_PATH:pwd cr-lab-tu@crlabtu-HP-Z800-Workstation:~/usarsimros-code/usarsim_inf$ rosmake

this is what i get after running the rosmake:-

[ rosmake ] rosmake starting...
[ rosmake ] No package specified. Building ['usarsim_inf']
[ rosmake ] Packages requested are: ['usarsim_inf']
[ rosmake ] Logging to directory /home/cr-lab-tu/.ros/rosmake/rosmake_output-20140923-232242
[ rosmake ] Expanded args ['usarsim_inf'] to: ['usarsim_inf']
[rosmake-0] Starting >>> std_msgs [ make ]
[rosmake-1] Starting >>> roslang [ make ]
[rosmake-0] Finished <<< std_msgs No Makefile in package std_msgs
[rosmake-3] Starting >>> rosconsole [ make ]
[rosmake-2] Starting >>> geometry_msgs [ make ]
[rosmake-0] Starting >>> bullet [ make ]
[rosmake-1] Finished <<< roslang No Makefile in package roslang
[rosmake-1] Starting >>> roscpp [ make ]
[rosmake-4] Starting >>> angles [ make ]
[rosmake-5] Starting >>> rospy [ make ]
[rosmake-2] Finished <<< geometry_msgs No Makefile in package geometry_msgs
[rosmake-6] Starting >>> rostest [ make ]
[rosmake-2] Starting >>> sensor_msgs [ make ]
[rosmake-7] Starting >>> roswtf [ make ]
[rosmake-3] Finished <<< rosconsole No Makefile in package rosconsole
[rosmake-0] Finished <<< bullet ROS_NOBUILD in package bullet
[rosmake-3] Starting >>> message_filters [ make ]
[rosmake-4] Finished <<< angles ROS_NOBUILD in package angles
[rosmake-0] Starting >>> nav_msgs [ make ]
[rosmake-4] Starting >>> actionlib_msgs [ make ]
[rosmake-1] Finished <<< roscpp No Makefile in package roscpp
[rosmake-1] Starting >>> usarsim_inf [ make ]
[rosmake-7] Finished <<< roswtf No Makefile in package roswtf
[rosmake-6] Finished <<< rostest No Makefile in package rostest
[rosmake-5] Finished <<< rospy No Makefile in package rospy
[rosmake-3] Finished <<< message_filters No Makefile in package message_filters
[rosmake-2] Finished <<< sensor_msgs No Makefile in package sensor_msgs
[rosmake-5] Starting >>> tf [ make ]
[rosmake-4] Finished <<< actionlib_msgs No Makefile in package actionlib_msgs
[rosmake-7] Starting >>> actionlib [ make ]
[rosmake-0] Finished <<< nav_msgs No Makefile in package nav_msgs
[rosmake-7] Finished <<< actionlib No Makefile in package actionlib
[rosmake-5] Finished <<< tf ROS_NOBUILD in package tf
[ rosmake ] All 21 linessarsim_inf: 0.2 sec ] [ 1 Active 16/17 Complete ] {------------------------------------------------------------------------------- mkdir -p bin cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=rospack find rosbuild/rostoolchain.cmake .. [rosbuild] Building package usarsim_inf Failed to invoke /opt/ros/fuerte/bin/rospack deps-manifests usarsim_inf [rospack] Error: package/stack usarsim_inf depends on non-existent package control_msgs

CMake Error at /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:129 (message):

Failed to invoke rospack to get compile flags for package 'usarsim_inf'.
Look above for errors from rospack itself.  Aborting.  Please fix the
broken dependency!

Call Stack (most recent call first): /opt/ros/fuerte/share/ros/core/rosbuild/public.cmake:203 (rosbuild_invoke_rospack) CMakeLists.txt:12 (rosbuild_init)

-- Configuring incomplete, errors occurred! -------------------------------------------------------------------------------} [ rosmake ] Output from build of package usarsim_inf written to: [ rosmake ] /home/cr-lab-tu/.ros/rosmake/rosmake_output-20140923-232242/usarsim_inf/build_output.log
[rosmake-1] Finished <<< usarsim_inf [FAIL] [ 0.18 seconds ]
[ rosmake ] Halting due to failure in package usarsim_inf. [ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 17 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /home/cr-lab-tu/.ros/rosmake/rosmake_output-20140923-232242
cr-lab-tu@crlabtu-HP-Z800-Workstation:~/usarsimros-code/usarsim_inf$

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Aarif
close date 2014-09-26 16:32:22.442269

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-09-26 16:31:07 -0600

Aarif gravatar image

i have solved the problem:- I have analyzed the output carefully then i found the make of usarsim_inf was dependent on a package named control_msgs, that was not installed on my machine, so i installed control_msgs manually package first then successfully make the usarsim_inf package.

edit flag offensive delete link more

Comments

we need to install common_msgs manually. @Aarif

sumant gravatar imagesumant ( 2014-10-11 12:12:52 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2014-09-23 13:04:26 -0600

Seen: 117 times

Last updated: Sep 26 '14