uzh-rpg / rpg_vikit

Vision-Kit provides some tools for your vision/robotics project.
120 stars 116 forks source link

Install ros dependencies encountered the following problems, can not find vikit_common #21

Closed barnett88 closed 7 years ago

barnett88 commented 7 years ago

Execute the command:sudo ./src/catkin/bin/catkin_make_isolated --install -DCMAKE_BUILD_TYPE=Release --install-space /opt/ros/indigo The problem is as follows: -- Build files have been written to: /vikit/ros_catkin_ws/build_isolated/vikit_common ==> make -j4 -l4 in '/vikit/ros_catkin_ws/build_isolated/vikit_common' Scanning dependencies of target vikit_common [ 17%] Building CXX object CMakeFiles/vikit_common.dir/src/math_utils.cpp.o [ 17%] Building CXX object CMakeFiles/vikit_common.dir/src/atan_camera.cpp.o [ 17%] Building CXX object CMakeFiles/vikit_common.dir/src/omni_camera.cpp.o [ 23%] Building CXX object CMakeFiles/vikit_common.dir/src/vision.cpp.o Error in `/usr/bin/c++': double free or corruption (top): 0x0152aea8 Error in `/usr/bin/c++': double free or corruption (top): 0x01a8aea8 CMakeFiles/vikit_common.dir/build.make:62: recipe for target

'CMakeFiles/vikit_common.dir/src/atan_camera.cpp.o' failed Error in `/usr/bin/c++': double free or corruption (top): 0x011d5ea8 Error in `/usr/bin/c++': double free or corruption (top): 0x019a6ea8 make[2]: [CMakeFiles/vikit_common.dir/src/atan_camera.cpp.o] Aborted make[2]: Waiting for unfinished jobs.... CMakeFiles/vikit_common.dir/build.make:86: recipe for target

'CMakeFiles/vikit_common.dir/src/omni_camera.cpp.o' failed make[2]: *** [CMakeFiles/vikit_common.dir/src/omni_camera.cpp.o] Aborted CMakeFiles/vikit_common.dir/build.make:110: recipe for target

'CMakeFiles/vikit_common.dir/src/math_utils.cpp.o' failed make[2]: *** [CMakeFiles/vikit_common.dir/src/math_utils.cpp.o] Aborted CMakeFiles/vikit_common.dir/build.make:134: recipe for target

'CMakeFiles/vikit_common.dir/src/vision.cpp.o' failed make[2]: [CMakeFiles/vikit_common.dir/src/vision.cpp.o] Aborted CMakeFiles/Makefile2:451: recipe for target 'CMakeFiles/vikit_common.dir/all' failed make[1]: [CMakeFiles/vikit_common.dir/all] Error 2 Makefile:138: recipe for target 'all' failed make: *** [all] Error 2 <== Failed to process package 'vikit_common': Command '['/opt/ros/indigo/env.sh', 'make', '-j4', '-l4']' returned non-zero exit status 2 Reproduce this error by running: ==> cd /vikit/ros_catkin_ws/build_isolated/vikit_common && /opt/ros/indigo/env.sh make -j4 -l4

Command failed, exiting. vikit@raspberrypi:~/ros_catkin_ws#

How to solve this problem, thank you.