imu_drivers compilation error [closed]

asked 2013-01-30 15:57:22 -0600

derekjchow gravatar image

I've been trying to compile the imu_drivers package on an ARM device. I'm running into the following errors.

[rosbuild] Building package microstrain_3dmgx2_imu [rosbuild] Cached build flags older than manifests; calling rospack to get flags Failed to invoke /root/ros_core_ws/install/bin/rospack cflags-only-I;--deps-only microstrain_3dmgx2_imu Package tf was not found in the pkg-config search path. Perhaps you should add the directory containing `tf.pc' to the PKG_CONFIG_PATH environment variable
No package 'tf' found Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/rosdep2/rospack.py", line 45, in call_pkg_config value = subprocess.check_output(['pkg-config', option, pkg_name]) File "/usr/lib/python2.7/subprocess.py", line 544, in check_output raise CalledProcessError(retcode, cmd, output=output)
subprocess.CalledProcessError: Command '['pkg-config', '--cflags-only-I', 'tf']' returned non-zero exit status 1 [rospack] Error: could not call python function 'rosdep2.rospack.call_pkg_config'

CMake Error at /root/ros_core_ws/install/share/ros/core/rosbuild/public.cmake:129 (message):

Failed to invoke rospack to get compile flags for package
'microstrain_3dmgx2_imu'.  Look above for errors from rospack itself.
Aborting.  Please fix the broken dependency!
 Call Stack (most recent call first):
/root/ros_core_ws/install/share/ros/core/rosbuild/public.cmake:227

(rosbuild_invoke_rospack) CMakeLists.txt:6 (rosbuild_init)

 -- Configuring incomplete, errors occurred!

It appears that tf is not being found correctly. I'm compiling on an Gumstix Overo running Linaro 12.08 and ROS Groovy.

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2015-10-17 18:27:21.091584