Kimera-VIO-ROS
Kimera-VIO-ROS copied to clipboard
fail to catkin build the kimera_vio with saying the confilcts of version of opencv.
Description:
1.
when I use the command :
"catkin build"
**Console output:**
/usr/bin/ld: warning: libopencv_core.so.3.2, needed by /home/*****/catkin_ws/devel/lib/libDBoW2.so, may conflict with libopencv_core.so.3.4
/usr/bin/ld: warning: libopencv_core.so.3.2, needed by /home/*****/catkin_ws/devel/lib/libDBoW2.so, may conflict with libopencv_core.so.3.4
CMake Error at /usr/share/cmake-3.10/Modules/GoogleTestAddTests.cmake:39 (message):
Error running test executable.
Path: '/home/*******/catkin_ws/build/kimera_vio/testKimeraVIO'
Result: Segmentation fault
Output:
make[2]: *** [testKimeraVIO] Error 1
make[2]: *** 正在删除文件“testKimeraVIO”
make[1]: *** [CMakeFiles/testKimeraVIO.dir/all] Error 2
make: *** [all] Error 2
2
so I use the command below:
ldd libDBoW2.so
**Console output:**
linux-vdso.so.1 (0x00007ffd494c2000)
libopencv_core.so.3.2 => /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.2 (0x00007fe26871b000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007fe268392000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007fe267ff4000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007fe267ddc000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007fe2679eb000)
libz.so.1 => /lib/x86_64-linux-gnu/libz.so.1 (0x00007fe2677ce000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007fe2675ca000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007fe2673ab000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007fe2671a3000)
libtbb.so.2 => /usr/lib/x86_64-linux-gnu/libtbb.so.2 (0x00007fe266f67000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe268d63000)
3
and the cammand:
ldd libkimera_vio.so
**Console output:**
libopencv_core.so.3.4 => /home/jayshaw/catkin_ws/devel/lib/libopencv_core.so.3.4 (0x00007f95fcfb8000)
libopencv_core.so.3.2 => /usr/lib/x86_64-linux-gnu/libopencv_core.so.3.2 (0x00007f95f72a0000)
Additional files: Please attach all the files needed to reproduce the error.
Please give also the following information:
- SparkVio branch, tag or commit used:v5.0
- GTSAM version used:4.0.1
- OpenGV version used:
- OpenCV version used: conflict version 3.2 in /usr/lib/x86_64-linux-gnu and version 3.4 in /home/******/catkin_ws/devel/lib/libopencv_core.so.3.4
- Operating system and version : Ubuntu 18.04
- Did you change the source code? :no