tum-vision / lsd_slam

LSD-SLAM
GNU General Public License v3.0
2.61k stars 1.23k forks source link

Compiling lsd_slam on Odroid XU3 - errors #90

Open sgabello1 opened 9 years ago

sgabello1 commented 9 years ago

Hi!

I am trying to compile lsd_slam on Odoroid XU3, with ros indigo ubuntu 14.04 but I get a lot of error! If I am using rosmake I get something like:

main_stitchVideos.cpp:(.text+0x55ae): undefined reference to cv::String::deallocate()' main_stitchVideos.cpp:(.text+0x55d6): undefined reference tocv::imread(cv::String const&, int)' main_stitchVideos.cpp:(.text+0x55dc): undefined reference to cv::String::deallocate()' main_stitchVideos.cpp:(.text+0x55fc): undefined reference tocv::imread(cv::String const&, int)' main_stitchVideos.cpp:(.text+0x5602): undefined reference to cv::String::deallocate()' main_stitchVideos.cpp:(.text+0x5622): undefined reference tocv::imread(cv::String const&, int)' main_stitchVideos.cpp:(.text+0x5628): undefined reference to cv::String::deallocate()' main_stitchVideos.cpp:(.text+0x5648): undefined reference tocv::imread(cv::String const&, int)' main_stitchVideos.cpp:(.text+0x564e): undefined reference to cv::String::deallocate()' main_stitchVideos.cpp:(.text+0x5a14): undefined reference tocv::String::allocate(unsigned int)' main_stitchVideos.cpp:(.text+0x5a58): undefined reference to cv::imwrite(cv::String const&, cv::_InputArray const&, std::vector<int, std::allocator<int> > const&)' main_stitchVideos.cpp:(.text+0x5a66): undefined reference tocv::String::deallocate()' main_stitchVideos.cpp:(.text+0x5a74): undefined reference to cv::String::allocate(unsigned int)' main_stitchVideos.cpp:(.text+0x5aa2): undefined reference tocv::imshow(cv::String const&, cv::_InputArray const&)' main_stitchVideos.cpp:(.text+0x5aa8): undefined reference to cv::String::deallocate()' main_stitchVideos.cpp:(.text+0x5f64): undefined reference tocv::String::allocate(unsigned int)' main_stitchVideos.cpp:(.text+0x5f78): undefined reference to cv::String::allocate(unsigned int)' main_stitchVideos.cpp:(.text+0x5f8c): undefined reference tocv::String::allocate(unsigned int)' main_stitchVideos.cpp:(.text+0x5fa2): undefined reference to cv::String::allocate(unsigned int)' main_stitchVideos.cpp:(.text+0x5fb6): undefined reference tocv::String::allocate(unsigned int)' main_stitchVideos.cpp:(.text+0x608a): undefined reference to cv::String::deallocate()' main_stitchVideos.cpp:(.text+0x60d2): undefined reference tocv::String::deallocate()' main_stitchVideos.cpp:(.text+0x60e8): undefined reference to cv::String::deallocate()' main_stitchVideos.cpp:(.text+0x60fe): undefined reference tocv::String::deallocate()' main_stitchVideos.cpp:(.text+0x6114): undefined reference to cv::String::deallocate()' CMakeFiles/videoStitch.dir/src/main_stitchVideos.cpp.o:main_stitchVideos.cpp:(.text+0x6172): more undefined references tocv::String::deallocate()' follow CMakeFiles/videoStitch.dir/src/main_stitchVideos.cpp.o: In function cv::String::String(char const*)': main_stitchVideos.cpp:(.text._ZN2cv6StringC2EPKc[_ZN2cv6StringC5EPKc]+0x1a): undefined reference tocv::String::allocate(unsigned int)'

And other error if I try also the version catkin_make.

Do you have an idea? Thank you.

roosemberth commented 9 years ago

Check your OpenCV Install, it might have some missing components