Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

compile error #10

Open
gisnewbird opened this issue Aug 13, 2019 · 1 comment
Open

compile error #10

gisnewbird opened this issue Aug 13, 2019 · 1 comment

Comments

@gisnewbird
Copy link

大家好,我在编译的时候应该是版本对应的问题,出现了下面的提示:
UAVProcessGeoMosaic.cpp:(.text+0x3900): undefined reference to stlplus::folder_exists(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)' UAVProcessGeoMosaic.cpp:(.text+0x393b): undefined reference to stlplus::folder_files(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)'
CMakeFiles/UAVProcess.dir/UAVICPProc.cpp.o: In function UAVICPExtract::UAVICPExtractMatchesEnvi(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, EXTRACT_TYPE)': UAVICPProc.cpp:(.text+0x1de): undefined reference to openMVG::image::Image::Image()'
UAVICPProc.cpp:(.text+0x1ed): undefined reference to openMVG::image::Image<unsigned char>::Image()' UAVICPProc.cpp:(.text+0x514): undefined reference to openMVG::matching::DistanceRatioMatch(float, openMVG::matching::EMatcherType const&, openMVG::features::Regions const&, openMVG::features::Regions const&, std::vector<openMVG::matching::IndMatch, std::allocatoropenMVG::matching::IndMatch >&)'
UAVICPProc.cpp:(.text+0x715): undefined reference to openMVG::features::PointFeature::y() const' UAVICPProc.cpp:(.text+0x738): undefined reference to openMVG::features::PointFeature::x() const'
UAVICPProc.cpp:(.text+0x75c): undefined reference to openMVG::features::PointFeature::y() const' UAVICPProc.cpp:(.text+0x780): undefined reference to openMVG::features::PointFeature::x() const'
UAVICPProc.cpp:(.text+0x8b0): undefined reference to openMVG::image::Image<unsigned char>::~Image()' UAVICPProc.cpp:(.text+0x8bf): undefined reference to openMVG::image::Image::~Image()'
UAVICPProc.cpp:(.text+0x11b8): undefined reference to openMVG::image::Image<unsigned char>::~Image()' UAVICPProc.cpp:(.text+0x11cc): undefined reference to openMVG::image::Image::~Image()'
CMakeFiles/UAVProcess.dir/UAVICPProc.cpp.o: In function UAVICPImportICPs(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)': UAVICPProc.cpp:(.text+0x133b): undefined reference to openMVG::sfm::Load(openMVG::sfm::SfM_Data&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, openMVG::sfm::ESfM_Data)'
UAVICPProc.cpp:(.text+0x17f0): undefined reference to `openMVG::sfm::Save(openMVG::sfm::SfM_Data const&, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, openMVG::sfm::ESfM_Data)'
collect2: error: ld returned 1 exit status
UAVProduct/CMakeFiles/UAVProcess.dir/build.make:421: recipe for target 'UAVProduct/UAVProcess' failed
make[2]: *** [UAVProduct/UAVProcess] Error 1
CMakeFiles/Makefile2:91: recipe for target 'UAVProduct/CMakeFiles/UAVProcess.dir/all' failed
make[1]: *** [UAVProduct/CMakeFiles/UAVProcess.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2
这个问题还没有解决,希望能有人帮忙看一下,谢谢

@RemoteSensingFrank
Copy link
Owner

有些依赖库的版本不对,你看看你的openMVG的test是否都能通

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants