BluewhaleRobot / dso_ros

forked from https://github.com/JakobEngel/dso_ros
GNU General Public License v3.0
12 stars 10 forks source link

catkin_make failed #1

Open Shrenni opened 1 year ago

Shrenni commented 1 year ago

Can anyone help me solve this issue?

[100%] Linking CXX executable /home/shreni/catkin_ws/devel/lib/dso_ros/dso_live /usr/bin/ld: /home/shreni/dso/build/lib/libdso.a(ImageDisplay_OpenCV.cpp.o): in function dso::IOWrap::displayImageStitch(char const*, std::vector<cv::Mat*, std::allocator<cv::Mat*> >, int, int)': /home/shreni/dso/src/IOWrapper/OpenCV/ImageDisplay_OpenCV.cpp:104: undefined reference tocv::Mat::Mat(int, int, int)' /usr/bin/ld: /home/shreni/dso/build/lib/libdso.a(ImageDisplay_OpenCV.cpp.o): in function cv::MatExpr::operator cv::Mat() const': /usr/local/include/opencv4/opencv2/core/mat.inl.hpp:2986: undefined reference tocv::Mat::Mat()' /usr/bin/ld: /usr/local/include/opencv4/opencv2/core/mat.inl.hpp:2986: undefined reference to cv::Mat::Mat()' /usr/bin/ld: CMakeFiles/dso_live.dir/src/main.o: in functionmain': main.cpp:(.text+0xa0f): undefined reference to `dso::IOWrap::PangolinDSOViewer::PangolinDSOViewer(int, int, bool)' collect2: error: ld returned 1 exit status make[2]: [dso_ros/CMakeFiles/dso_live.dir/build.make:218: /home/shreni/catkin_ws/devel/lib/dso_ros/dso_live] Error 1 make[1]: [CMakeFiles/Makefile2:3545: dso_ros/CMakeFiles/dso_live.dir/all] Error 2 make: *** [Makefile:141: all] Error 2 Invoking "make -j8 -l8" failed

360ZMEM commented 1 year ago

Maybe you've installed pangolin as master branch. Try reinstall other version of pangolin (such as v0.6) and build DSO again.