raulmur / ORB_SLAM2

Real-Time SLAM for Monocular, Stereo and RGB-D Cameras, with Loop Detection and Relocalization Capabilities
Other
9.48k stars 4.7k forks source link

Build Error! /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to mousemask@NCURSESW6_5.1.20000708' #1042

Open Summer2474 opened 2 years ago

Summer2474 commented 2 years ago

ORB-SLAM3 works well in my computer, however, when I try to build ORB-SLAM2, I get some strange errors that I fail to solve! If someone encounters a mistake similar to mine, please tell me how to fix it, and I don't find any effective solution now.

Configuring and building Thirdparty/DBoW2 ... mkdir: 无法创建目录 “build”: 文件已存在 -- Configuring done -- Generating done -- Build files have been written to: /home/summer/ORB-SLAM2/Thirdparty/DBoW2/build [100%] Built target DBoW2 Configuring and building Thirdparty/g2o ... mkdir: 无法创建目录 “build”: 文件已存在 -- BUILD TYPE:Release -- Compiling on Unix -- Found OpenMP_C: -fopenmp
-- Found OpenMP_CXX: -fopenmp
-- Found OpenMP: TRUE
-- Configuring done -- Generating done -- Build files have been written to: /home/summer/ORB-SLAM2/Thirdparty/g2o/build [100%] Built target g2o Uncompress vocabulary ... Configuring and building ORB_SLAM2 ... mkdir: 无法创建目录 “build”: 文件已存在 Build type: Release -- Using flag -std=c++11. -- Configuring done CMake Warning at CMakeLists.txt:110 (add_executable): Cannot generate a safe runtime search path for target mono_euroc because files in some directories may conflict with libraries in implicit directories:

runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib

Some of these libraries may not be found correctly.

CMake Warning at CMakeLists.txt:106 (add_executable): Cannot generate a safe runtime search path for target mono_kitti because files in some directories may conflict with libraries in implicit directories:

runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib

Some of these libraries may not be found correctly.

CMake Warning at CMakeLists.txt:102 (add_executable): Cannot generate a safe runtime search path for target mono_tum because files in some directories may conflict with libraries in implicit directories:

runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib

Some of these libraries may not be found correctly.

CMake Warning at CMakeLists.txt:95 (add_executable): Cannot generate a safe runtime search path for target stereo_euroc because files in some directories may conflict with libraries in implicit directories:

runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib

Some of these libraries may not be found correctly.

CMake Warning at CMakeLists.txt:91 (add_executable): Cannot generate a safe runtime search path for target stereo_kitti because files in some directories may conflict with libraries in implicit directories:

runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib

Some of these libraries may not be found correctly.

CMake Warning at CMakeLists.txt:85 (add_executable): Cannot generate a safe runtime search path for target rgbd_tum because files in some directories may conflict with libraries in implicit directories:

runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib

Some of these libraries may not be found correctly.

CMake Warning at CMakeLists.txt:51 (add_library): Cannot generate a safe runtime search path for target ORB_SLAM2 because files in some directories may conflict with libraries in implicit directories:

runtime library [libpng16.so.16] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libz.so.1] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib
runtime library [libtiff.so.5] in /usr/lib/x86_64-linux-gnu may be hidden by files in:
  /home/summer/anaconda3/lib

Some of these libraries may not be found correctly.

-- Generating done -- Build files have been written to: /home/summer/ORB-SLAM2/build [ 62%] Built target ORB_SLAM2 [ 65%] Linking CXX executable ../Examples/Monocular/mono_euroc [ 71%] Linking CXX executable ../Examples/Monocular/mono_tum [ 71%] Linking CXX executable ../Examples/RGB-D/rgbd_tum [ 75%] Linking CXX executable ../Examples/Monocular/mono_kitti [ 78%] Linking CXX executable ../Examples/Stereo/stereo_kitti [ 81%] Linking CXX executable ../Examples/Stereo/stereo_euroc /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to mousemask@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tononl@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference to cairo_tag_end' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tostart_color@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to noecho@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toinit_pair@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wattrset@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toungetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to endwin@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toESCDELAY@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to mouseinterval@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tonewterm@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to resize_term@NCURSESW6_5.3.20021019' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toCOLORS@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wmove@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towaddnstr@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wrefresh@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference tocairo_tag_begin' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wattr_on@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference togetmouse@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wgetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference tocairo_font_options_get_variations' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to initscr@NCURSESW6_5.1.20000708' collect2: error: ld returned 1 exit status make[2]: *** [CMakeFiles/mono_kitti.dir/build.make:162:../Examples/Monocular/mono_kitti] 错误 1 make[1]: *** [CMakeFiles/Makefile2:115:CMakeFiles/mono_kitti.dir/all] 错误 2 make[1]: *** 正在等待未完成的任务.... /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tomousemask@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to nonl@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference tocairo_tag_end' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to start_color@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tonoecho@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to init_pair@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towattrset@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to ungetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toendwin@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to ESCDELAY@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tomouseinterval@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to newterm@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toresize_term@NCURSESW6_5.3.20021019' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to COLORS@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towmove@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to waddnstr@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towrefresh@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference to cairo_tag_begin' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towattr_on@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to getmouse@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towgetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference to cairo_font_options_get_variations' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toinitscr@NCURSESW6_5.1.20000708' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/stereo_euroc.dir/build.make:162:../Examples/Stereo/stereo_euroc] 错误 1 make[1]: [CMakeFiles/Makefile2:169:CMakeFiles/stereo_euroc.dir/all] 错误 2 /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to mousemask@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tononl@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference to cairo_tag_end' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tostart_color@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to noecho@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toinit_pair@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wattrset@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toungetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to endwin@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toESCDELAY@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to mouseinterval@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tonewterm@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to resize_term@NCURSESW6_5.3.20021019' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toCOLORS@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to mousemask@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towmove@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to nonl@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towaddnstr@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference to cairo_tag_end' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towrefresh@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to start_color@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference tocairo_tag_begin' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to noecho@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towattr_on@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to mousemask@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toinit_pair@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to getmouse@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towattrset@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wgetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toungetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference to cairo_font_options_get_variations' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tononl@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to initscr@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toendwin@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to ESCDELAY@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tomouseinterval@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference to cairo_tag_end' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tonewterm@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to resize_term@NCURSESW6_5.3.20021019' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tostart_color@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to COLORS@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tonoecho@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wmove@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towaddnstr@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wrefresh@NCURSESW6_5.1.20000708' collect2: error: ld returned 1 exit status /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toinit_pair@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference to cairo_tag_begin' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towattrset@NCURSESW6_5.1.20000708' make[2]: [CMakeFiles/rgbd_tum.dir/build.make:162:../Examples/RGB-D/rgbd_tum] 错误 1 /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `wattr_on@NCURSESW6_5.1.20000708' make[1]: [CMakeFiles/Makefile2:223:CMakeFiles/rgbd_tum.dir/all] 错误 2 /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to ungetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference togetmouse@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wgetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference tocairo_font_options_get_variations' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to endwin@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toinitscr@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to ESCDELAY@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tomouseinterval@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to newterm@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toresize_term@NCURSESW6_5.3.20021019' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to COLORS@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towmove@NCURSESW6_5.1.20000708' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/stereo_kitti.dir/build.make:162:../Examples/Stereo/stereo_kitti] 错误 1 make[1]: [CMakeFiles/Makefile2:196:CMakeFiles/stereo_kitti.dir/all] 错误 2 /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to waddnstr@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towrefresh@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to mousemask@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference tocairo_tag_begin' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wattr_on@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tononl@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference to cairo_tag_end' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference togetmouse@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to start_color@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towgetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to noecho@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference tocairo_font_options_get_variations' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to initscr@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toinit_pair@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wattrset@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toungetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to endwin@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toESCDELAY@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to mouseinterval@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference tonewterm@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to resize_term@NCURSESW6_5.3.20021019' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference toCOLORS@NCURSESW6_5.1.20000708' collect2: error: ld returned 1 exit status /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wmove@NCURSESW6_5.1.20000708' make[2]: *** [CMakeFiles/mono_tum.dir/build.make:162:../Examples/Monocular/mono_tum] 错误 1 /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference towaddnstr@NCURSESW6_5.1.20000708' make[1]: [CMakeFiles/Makefile2:142:CMakeFiles/mono_tum.dir/all] 错误 2 /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wrefresh@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference tocairo_tag_begin' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wattr_on@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference togetmouse@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to wgetch@NCURSESW6_5.1.20000708' /usr/bin/ld: /lib/x86_64-linux-gnu/librsvg-2.so.2: undefined reference tocairo_font_options_get_variations' /usr/bin/ld: /lib/x86_64-linux-gnu/libcaca.so.0: undefined reference to `initscr@NCURSESW6_5.1.20000708' collect2: error: ld returned 1 exit status make[2]: [CMakeFiles/mono_euroc.dir/build.make:162:../Examples/Monocular/mono_euroc] 错误 1 make[1]: [CMakeFiles/Makefile2:88:CMakeFiles/mono_euroc.dir/all] 错误 2 make: [Makefile:84:all] 错误 2

musalmaz commented 1 year ago

Hello, did you solve this issue, I got the same problem. Any help would be appreciated.

pramitd commented 1 year ago

Same problem. Do you have the solution. Kindly give a reply, thanks.

musalmaz commented 1 year ago

I don't understand which way solved my problem but it possible solutions are: 1 - if you use conda, run your command without a conda environment, even base., 2 - the reason for the problem may is opencv, resolve this.

sun-bz commented 8 months ago

i also meet this question.Do you have the solution?

supermice commented 8 months ago

邮件已收到! @.***

lx-r commented 8 months ago

您好,来信已收到,谢谢!