Skip to content

compile error #10

Description

@gisnewbird

大家好,我在编译的时候应该是版本对应的问题,出现了下面的提示:
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
这个问题还没有解决,希望能有人帮忙看一下,谢谢

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions