Open mgarbade opened 6 years ago
Hi there, how is it solved?
Hi, I also have this problem.
File "/usr/lib/python2.7/dist-packages/rosdep2/init.py", line 40, in
CMake Error at /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:129 (message):
Failed to invoke rospack to get compile flags for package 'dso_ros'. Look
above for errors from rospack itself. Aborting. Please fix the broken
dependency!
Call Stack (most recent call first): /opt/ros/indigo/share/ros/core/rosbuild/public.cmake:207 (rosbuild_invoke_rospack) CMakeLists.txt:13 (rosbuild_init)
-- Configuring incomplete, errors occurred!
See also "/root/catkin_ws/src/dso_ros/build/CMakeFiles/CMakeOutput.log".
-------------------------------------------------------------------------------}
[ rosmake ] Output from build of package dso_ros written to:
[ rosmake ] /root/.ros/rosmake/rosmake_output-20191123-144057/dso_ros/build_output.log
[rosmake-6] Finished <<< dso_ros [FAIL] [ 0.16 seconds ]
[ rosmake ] Halting due to failure in package dso_ros.
[ rosmake ] Waiting for other threads to complete.
[ rosmake ] Results:
[ rosmake ] Built 34 packages with 1 failures.
[ rosmake ] Summary output to directory
[ rosmake ] /root/.ros/rosmake/rosmake_output-20191123-144057
I'm using: Ubuntu 14.04, ROS indigo in docker
我找到了问题原因, 是由于电脑中同时存在多个版本的python, 所以需要将其他版本python删除掉, 重新运行make, 即可解决此问题 ps: 我重刷了系统, 在没有其他python版本的情况下重新进行编译,成功了
Following your installation instructions, during compilation (
rosmake lsd_slam
) I get a couple of errors which I could all fix by sequentially runningbut this last error seems to be unfixable using pip. Here is the full output:
rosdep version seems to be fine:
Any idea how to fix this?
I'm using: Ubuntu 14.04, ROS indigo, anaconda2 with pyhton 2.7