Quantcast
Channel: ROS Answers: Open Source Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 417

catkin_make hector_costmap with undefined reference Error

$
0
0
Hello , I run indigo in Ubuntu14.04 LTS. When I catkin_make it , I get some problems. CMakeFiles/hector_costmap.dir/src/hector_costmap.cpp.o: In function `cv::String::String(char const*)': hector_costmap.cpp:(.text._ZN2cv6StringC2EPKc[_ZN2cv6StringC5EPKc]+0x3d): undefined reference to `cv::String::allocate(unsigned int)' CMakeFiles/hector_costmap.dir/src/hector_costmap.cpp.o: In function `cv::String::~String()': hector_costmap.cpp:(.text._ZN2cv6StringD2Ev[_ZN2cv6StringD5Ev]+0xd): undefined reference to `cv::String::deallocate()' CMakeFiles/hector_costmap.dir/src/hector_costmap.cpp.o: In function `cv::Mat::Mat(int, int, int, void*, unsigned int)': hector_costmap.cpp:(.text._ZN2cv3MatC2EiiiPvj[_ZN2cv3MatC5EiiiPvj]+0x17b): undefined reference to `cv::error(int, cv::String const&, char const*, char const*, int)' collect2: error: ld returned 1 exit status make[2]: *** [/home/exbot/hector/devel/lib/hector_costmap/hector_costmap] Error 1 make[1]: *** [hector_navigation/hector_costmap/CMakeFiles/hector_costmap.dir/all] Error 2 make: *** [all] Error 2 Invoking "make -j4 -l4" failed My opencv is 3.0.0beta. I wonder if this is the problem. Thanks first!

Viewing all articles
Browse latest Browse all 417

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>