ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

So, above problem regarding __connection_header I solved once by comment out the two lines dealing with msg_header_map (not sure if this code is really necessary). Afterwards it seems to compile fine. Now I'm running (could be expected) into another problem during linking getting error unresolved cv::SIFT::SIFT I'm using openCV 2.4 and since this version nonfree stuff was excluded from openCV. Not sure how to get now opencv_nonfree library to link. Any hint?

...
Linking CXX executable /home/ros/catkin_ws/devel/lib/rgbdslam/rgbdslam
CMakeFiles/rgbdslam.dir/src/misc.o: In Funktion `createDescriptorExtractor(std::string const&)':
misc.cpp:(.text+0x1433): Nicht definierter Verweis auf `cv::SIFT::SIFT(int, int, double, double, double)'
misc.cpp:(.text+0x1594): Nicht definierter Verweis auf `cv::SURF::SURF()'
misc.cpp:(.text+0x1604): Nicht definierter Verweis auf `cv::SURF::SURF()'
misc.cpp:(.text+0x173a): Nicht definierter Verweis auf `cv::SURF::SURF()'
CMakeFiles/rgbdslam.dir/src/misc.o: In Funktion `createDetector(std::string const&)':
misc.cpp:(.text+0x4ee0): Nicht definierter Verweis auf `cv::SIFT::SIFT(int, int, double, double, double)'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/ros/catkin_ws/devel/lib/rgbdslam/rgbdslam] Fehler 1
make[1]: *** [rgbdslam_v2-hydro/CMakeFiles/rgbdslam.dir/all] Fehler 2
make: *** [all] Fehler 2
Invoking "make" failed

So, above problem regarding __connection_header I solved once by comment out the two lines dealing with msg_header_map (not sure if this code is really necessary). Afterwards it seems to compile fine. Now I'm running (could be expected) into another problem during linking getting error unresolved cv::SIFT::SIFT I'm using openCV 2.4 and since this version nonfree stuff was excluded from openCV. Not sure how to get now opencv_nonfree library to link. Any hint?

...
Linking CXX executable /home/ros/catkin_ws/devel/lib/rgbdslam/rgbdslam
CMakeFiles/rgbdslam.dir/src/misc.o: In Funktion `createDescriptorExtractor(std::string const&)':
misc.cpp:(.text+0x1433): Nicht definierter Verweis auf `cv::SIFT::SIFT(int, int, double, double, double)'
misc.cpp:(.text+0x1594): Nicht definierter Verweis auf `cv::SURF::SURF()'
misc.cpp:(.text+0x1604): Nicht definierter Verweis auf `cv::SURF::SURF()'
misc.cpp:(.text+0x173a): Nicht definierter Verweis auf `cv::SURF::SURF()'
CMakeFiles/rgbdslam.dir/src/misc.o: In Funktion `createDetector(std::string const&)':
misc.cpp:(.text+0x4ee0): Nicht definierter Verweis auf `cv::SIFT::SIFT(int, int, double, double, double)'
collect2: error: ld returned 1 exit status
make[2]: *** [/home/ros/catkin_ws/devel/lib/rgbdslam/rgbdslam] Fehler 1
make[1]: *** [rgbdslam_v2-hydro/CMakeFiles/rgbdslam.dir/all] Fehler 2
make: *** [all] Fehler 2
Invoking "make" failed