Robotics StackExchange | Archived questions

[solved] rosmake error while making the usarsim_inf package.

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/usarsiminf/ cr-lab-tu@crlabtu-HP-Z800-Workstation:~/usarsimros-code/usarsiminf$ export ROSPACKAGEPATH=$ROSPACKAGEPATH: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 ['usarsiminf']
[ rosmake ] Packages requested are: ['usarsim_inf']
[ rosmake ] Logging to directory /home/cr-lab-tu/.ros/rosmake/rosmake
output-20140923-232242
[ rosmake ] Expanded args ['usarsiminf'] to: ['usarsim_inf']
[rosmake-0] Starting >>> std
msgs [ make ]
[rosmake-1] Starting >>> roslang [ make ]
[rosmake-0] Finished <<< stdmsgs No Makefile in package stdmsgs
[rosmake-3] Starting >>> rosconsole [ make ]
[rosmake-2] Starting >>> geometrymsgs [ 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 geometrymsgs
[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 ROSNOBUILD in package bullet
[rosmake-3] Starting >>> message
filters [ make ]
[rosmake-4] Finished <<< angles ROSNOBUILD in package angles
[rosmake-0] Starting >>> nav
msgs [ make ]
[rosmake-4] Starting >>> actionlibmsgs [ 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 <<< messagefilters No Makefile in package messagefilters
[rosmake-2] Finished <<< sensormsgs No Makefile in package sensormsgs
[rosmake-5] Starting >>> tf [ make ]
[rosmake-4] Finished <<< actionlibmsgs No Makefile in package actionlibmsgs
[rosmake-7] Starting >>> actionlib [ make ]
[rosmake-0] Finished <<< navmsgs No Makefile in package navmsgs
[rosmake-7] Finished <<< actionlib No Makefile in package actionlib
[rosmake-5] Finished <<< tf ROSNOBUILD in package tf
[ rosmake ] All 21 linessarsim
inf: 0.2 sec ] [ 1 Active 16/17 Complete ] {------------------------------------------------------------------------------- mkdir -p bin cd build && cmake -Wdev -DCMAKETOOLCHAINFILE=rospack find rosbuild/rostoolchain.cmake .. [rosbuild] Building package usarsiminf Failed to invoke /opt/ros/fuerte/bin/rospack deps-manifests usarsiminf [rospack] Error: package/stack usarsiminf depends on non-existent package controlmsgs

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 (rosbuildinvokerospack) CMakeLists.txt:12 (rosbuild_init)

-- Configuring incomplete, errors occurred! -------------------------------------------------------------------------------} [ rosmake ] Output from build of package usarsiminf written to: [ rosmake ] /home/cr-lab-tu/.ros/rosmake/rosmakeoutput-20140923-232242/usarsiminf/buildoutput.log
[rosmake-1] Finished <<< usarsiminf [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/rosmakeoutput-20140923-232242
cr-lab-tu@crlabtu-HP-Z800-Workstation:~/usarsimros-code/usarsim
inf$

Asked by Aarif on 2014-09-23 13:04:26 UTC

Comments

Answers

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.

Asked by Aarif on 2014-09-26 16:31:07 UTC

Comments

we need to install common_msgs manually. @aarif

Asked by sumant on 2014-10-11 12:12:52 UTC