Open ericzzj1989 opened 3 months ago
Hello, thank you for this great work. I am trying to install modified version of colmap as per install.md guide but encounter an error as below.
[100%] Linking CXX executable colmap /usr/bin/ld: CMakeFiles/colmap_exe.dir/model.cc.o: in function std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > colmap::JoinPaths<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> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': model.cc:(.text._ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEES6_DpRKT_[_ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEES6_DpRKT_]+0xa5): undefined reference toboost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const, char const)' /usr/bin/ld: model.cc:(.text._ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEES6DpRKT[_ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEES6DpRKT]+0x1be): undefined reference to boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)' /usr/bin/ld: CMakeFiles/colmap_exe.dir/model.cc.o: in functionstd::cxx11::basic_string<char, std::char_traits, std::allocator > colmap::JoinPaths<std::cxx11::basic_string<char, std::char_traits, std::allocator >, char [11]>(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const (&) [11])': model.cc:(.text._ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cEEES6DpRKT[_ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cEEES6DpRKT]+0xab): undefined reference to boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)' /usr/bin/ld: model.cc:(.text._ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cEEES6_DpRKT_[_ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cEEES6_DpRKT_]+0x204): undefined reference toboost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const, char const)' /usr/bin/ld: CMakeFiles/colmap_exe.dir/model.cc.o: in function `std::cxx11::basic_string<char, std::char_traits, std::allocator > colmap::JoinPaths<std::cxx11::basic_string<char, std::char_traits, std::allocator >, char [19]>(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const (&) [19])': model.cc:(.text._ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEES6DpRKT[_ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEES6DpRKT]+0xab): undefined reference to boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)' /usr/bin/ld: CMakeFiles/colmap_exe.dir/model.cc.o:model.cc:(.text._ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEES6_DpRKT_[_ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEES6_DpRKT_]+0x204): more undefined references toboost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const, char const)' follow /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function `colmap::FileCopy(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, colmap::CopyType)': misc.cc:(.text+0x3d2): undefined reference to boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_options, boost::system::error_code*)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in functioncolmap::CreateDirIfNotExists(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, bool)': misc.cc:(.text+0xcd9): undefined reference to boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::filesystem::path const*, boost::system::error_code*)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in functioncolmap::GetParentDir(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)': misc.cc:(.text+0xee1): undefined reference to boost::filesystem::detail::path_algorithms::find_parent_path_size(boost::filesystem::path const&)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in functioncolmap::GetRelativePath(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)': misc.cc:(.text+0x11e2): undefined reference to boost::filesystem::detail::canonical_v3(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x1295): undefined reference toboost::filesystem::detail::canonical_v3(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code)' /usr/bin/ld: misc.cc:(.text+0x1318): undefined reference to boost::filesystem::detail::path_algorithms::compare_v3(boost::filesystem::path const&, boost::filesystem::path const&)' /usr/bin/ld: misc.cc:(.text+0x1356): undefined reference toboost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: misc.cc:(.text+0x135e): undefined reference to boost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: misc.cc:(.text+0x1405): undefined reference toboost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const, char const)' /usr/bin/ld: misc.cc:(.text+0x140d): undefined reference to boost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: misc.cc:(.text+0x148b): undefined reference toboost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const, char const)' /usr/bin/ld: misc.cc:(.text+0x1493): undefined reference to boost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in functioncolmap::GetRecursiveFileList(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&)': misc.cc:(.text+0x2b47): undefined reference to `boost::filesystem::detail::recursive_directory_iterator_construct(boost::filesystem::recursive_directory_iterator&, boost::filesystem::path const&, boost::filesystem::directory_options, boost::system::error_code)' /usr/bin/ld: misc.cc:(.text+0x2b76): undefined reference to boost::filesystem::detail::recursive_directory_iterator_increment(boost::filesystem::recursive_directory_iterator&, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x2ca7): undefined reference toboost::filesystem::directory_entry::refresh_impl(boost::system::error_code) const' /usr/bin/ld: misc.cc:(.text+0x2ce4): undefined reference to boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x2cec): undefined reference toboost::filesystem::detail::dir_itr_imp::operator delete(void)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function colmap::GetDirList(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': misc.cc:(.text+0x327a): undefined reference toboost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::filesystem::directory_options, boost::filesystem::detail::directory_iterator_params, boost::system::error_code)' /usr/bin/ld: misc.cc:(.text+0x33c7): undefined reference to boost::filesystem::directory_entry::refresh_impl(boost::system::error_code*) const' /usr/bin/ld: misc.cc:(.text+0x33e3): undefined reference toboost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x33eb): undefined reference to boost::filesystem::detail::dir_itr_imp::operator delete(void*)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in functioncolmap::GetFileList(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)': misc.cc:(.text+0x364a): undefined reference to boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::filesystem::directory_options, boost::filesystem::detail::directory_iterator_params*, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x3797): undefined reference toboost::filesystem::directory_entry::refresh_impl(boost::system::error_code) const' /usr/bin/ld: misc.cc:(.text+0x37b3): undefined reference to boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x37bb): undefined reference toboost::filesystem::detail::dir_itr_imp::operator delete(void)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function `colmap::GetRecursiveDirList(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&)': misc.cc:(.text+0x3a17): undefined reference to boost::filesystem::detail::recursive_directory_iterator_construct(boost::filesystem::recursive_directory_iterator&, boost::filesystem::path const&, boost::filesystem::directory_options, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x3a46): undefined reference toboost::filesystem::detail::recursive_directory_iterator_increment(boost::filesystem::recursive_directory_iterator&, boost::system::error_code)' /usr/bin/ld: misc.cc:(.text+0x3b77): undefined reference to `boost::filesystem::directory_entry::refresh_impl(boost::system::error_code) const' /usr/bin/ld: misc.cc:(.text+0x3bb4): undefined reference to boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x3bbc): undefined reference toboost::filesystem::detail::dir_itr_imp::operator delete(void)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function `void boost::sp_adl_block::intrusive_ptr_release<boost::filesystem::detail::dir_itr_imp, boost::sp_adl_block::thread_safe_counter>(boost::sp_adl_block::intrusive_ref_counter<boost::filesystem::detail::dir_itr_imp, boost::sp_adl_block::thread_safe_counter> const)': misc.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x25): undefined reference to boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x2e): undefined reference toboost::filesystem::detail::dir_itr_imp::operator delete(void)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function `void boost::sp_adl_block::intrusive_ptr_release<boost::filesystem::detail::recur_dir_itr_imp, boost::sp_adl_block::thread_safe_counter>(boost::sp_adl_block::intrusive_ref_counter<boost::filesystem::detail::recur_dir_itr_imp, boost::sp_adl_block::thread_safe_counter> const)': misc.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail17recur_dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail17recur_dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x55): undefined reference to boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail17recur_dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail17recur_dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x5d): undefined reference toboost::filesystem::detail::dir_itr_imp::operator delete(void*)' /usr/bin/ld: ../libcolmap.a(option_manager.cc.o): in function `boost::program_options::basic_command_line_parser::extra_parser(boost::function_n<std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&>)': option_manager.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcE12extra_parserENS_10function_nISt4pairINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EJRKSA_EEE[_ZN5boost15program_options25basic_command_line_parserIcE12extra_parserENS_10function_nISt4pairINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EJRKSA_EEE]+0x50): undefined reference to `boost::program_options::detail::cmdline::set_additional_parser(boost::function_n<std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&>)' collect2: error: ld returned 1 exit status make[2]: [src/exe/CMakeFiles/colmap_exe.dir/build.make:276:src/exe/colmap] error 1 make[1]: [CMakeFiles/Makefile2:729:src/exe/CMakeFiles/colmap_exe.dir/all] error 2 make: *** [Makefile:136:all] error 2
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > colmap::JoinPaths<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> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': model.cc:(.text._ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEES6_DpRKT_[_ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEES6_DpRKT_]+0xa5): undefined reference to
boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)' /usr/bin/ld: CMakeFiles/colmap_exe.dir/model.cc.o: in function
boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)' /usr/bin/ld: model.cc:(.text._ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cEEES6_DpRKT_[_ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cEEES6_DpRKT_]+0x204): undefined reference to
boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)' /usr/bin/ld: CMakeFiles/colmap_exe.dir/model.cc.o:model.cc:(.text._ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEES6_DpRKT_[_ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEES6_DpRKT_]+0x204): more undefined references to
boost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_options, boost::system::error_code*)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function
boost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::filesystem::path const*, boost::system::error_code*)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function
boost::filesystem::detail::path_algorithms::find_parent_path_size(boost::filesystem::path const&)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function
boost::filesystem::detail::canonical_v3(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x1295): undefined reference to
boost::filesystem::detail::path_algorithms::compare_v3(boost::filesystem::path const&, boost::filesystem::path const&)' /usr/bin/ld: misc.cc:(.text+0x1356): undefined reference to
boost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: misc.cc:(.text+0x1405): undefined reference to
boost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: misc.cc:(.text+0x148b): undefined reference to
boost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function
boost::filesystem::detail::recursive_directory_iterator_increment(boost::filesystem::recursive_directory_iterator&, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x2ca7): undefined reference to
boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x2cec): undefined reference to
colmap::GetDirList(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': misc.cc:(.text+0x327a): undefined reference to
boost::filesystem::directory_entry::refresh_impl(boost::system::error_code*) const' /usr/bin/ld: misc.cc:(.text+0x33e3): undefined reference to
boost::filesystem::detail::dir_itr_imp::operator delete(void*)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function
boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::filesystem::directory_options, boost::filesystem::detail::directory_iterator_params*, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x3797): undefined reference to
boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x37bb): undefined reference to
boost::filesystem::detail::recursive_directory_iterator_construct(boost::filesystem::recursive_directory_iterator&, boost::filesystem::path const&, boost::filesystem::directory_options, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x3a46): undefined reference to
boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x3bbc): undefined reference to
boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x2e): undefined reference to
boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail17recur_dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail17recur_dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x5d): undefined reference to
Can anyone help me with these errors? Thanks!
Hello, thank you for this great work. I am trying to install modified version of colmap as per install.md guide but encounter an error as below.
[100%] Linking CXX executable colmap /usr/bin/ld: CMakeFiles/colmap_exe.dir/model.cc.o: in function, std::allocator > colmap::JoinPaths<std:: cxx11::basic_string<char, std::char_traits, std::allocator >, char [11]>(std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const (&) [11])':
model.cc:(.text._ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cEEES6DpRKT[_ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cEEES6DpRKT]+0xab): undefined reference to , std::allocator > colmap::JoinPaths<std:: cxx11::basic_string<char, std::char_traits, std::allocator >, char [19]>(std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&, char const (&) [19])':
model.cc:(.text._ZN6colmap9JoinPathsIJNSt7 cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEES6DpRKT[_ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEES6DpRKT]+0xab): undefined reference to , std::allocator > const&, std::cxx11::basic_string<char, std::char_traits, std::allocator > const&, colmap::CopyType)':
misc.cc:(.text+0x3d2): undefined reference to , std::allocator > const&, bool)':
misc.cc:(.text+0xcd9): undefined reference to cxx11::basic_string<char, std::char_traits, std::allocator > const&)':
misc.cc:(.text+0xee1): undefined reference to , std::allocator > const&, std:: cxx11::basic_string<char, std::char_traits, std::allocator > const&)':
misc.cc:(.text+0x11e2): undefined reference to , std::allocator > const&)':
misc.cc:(.text+0x2b47): undefined reference to `boost::filesystem::detail::recursive_directory_iterator_construct(boost::filesystem::recursive_directory_iterator&, boost::filesystem::path const&, boost::filesystem::directory_options, boost::system::error_code )'
/usr/bin/ld: misc.cc:(.text+0x2b76): undefined reference to , std::allocator > const&)':
misc.cc:(.text+0x364a): undefined reference to cxx11::basic_string<char, std::char_traits, std::allocator > const&)':
misc.cc:(.text+0x3a17): undefined reference to ::extra_parser(boost::function_n<std::pair<std:: cxx11::basic_string<char, std::char_traits, std::allocator >, std::cxx11::basic_string<char, std::char_traits, std::allocator > >, std:: cxx11::basic_string<char, std::char_traits, std::allocator > const&>)':
option_manager.cc:(.text._ZN5boost15program_options25basic_command_line_parserIcE12extra_parserENS_10function_nISt4pairINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EJRKSA_EEE[_ZN5boost15program_options25basic_command_line_parserIcE12extra_parserENS_10function_nISt4pairINSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEESA_EJRKSA_EEE]+0x50): undefined reference to `boost::program_options::detail::cmdline::set_additional_parser(boost::function_n<std::pair<std::cxx11::basic_string<char, std::char_traits, std::allocator >, std:: cxx11::basic_string<char, std::char_traits, std::allocator > >, std::__cxx11::basic_string<char, std::char_traits, std::allocator > const&>)'
collect2: error: ld returned 1 exit status
make[2]: [src/exe/CMakeFiles/colmap_exe.dir/build.make:276:src/exe/colmap] error 1
make[1]: [CMakeFiles/Makefile2:729:src/exe/CMakeFiles/colmap_exe.dir/all] error 2
make: *** [Makefile:136:all] error 2
std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > colmap::JoinPaths<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> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': model.cc:(.text._ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEES6_DpRKT_[_ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEES6_DpRKT_]+0xa5): undefined reference to
boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const, char const)' /usr/bin/ld: model.cc:(.text._ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEES6DpRKT[_ZN6colmap9JoinPathsIJNSt7cxx1112basic_stringIcSt11char_traitsIcESaIcEEES6_EEES6DpRKT]+0x1be): undefined reference toboost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)' /usr/bin/ld: CMakeFiles/colmap_exe.dir/model.cc.o: in function
std::cxx11::basic_string<char, std::char_traitsboost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)' /usr/bin/ld: model.cc:(.text._ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cEEES6_DpRKT_[_ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA11_cEEES6_DpRKT_]+0x204): undefined reference to
boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const, char const)' /usr/bin/ld: CMakeFiles/colmap_exe.dir/model.cc.o: in function `std::cxx11::basic_string<char, std::char_traitsboost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const*, char const*)' /usr/bin/ld: CMakeFiles/colmap_exe.dir/model.cc.o:model.cc:(.text._ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEES6_DpRKT_[_ZN6colmap9JoinPathsIJNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEA19_cEEES6_DpRKT_]+0x204): more undefined references to
boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const, char const)' follow /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function `colmap::FileCopy(std::cxx11::basic_string<char, std::char_traitsboost::filesystem::detail::copy_file(boost::filesystem::path const&, boost::filesystem::path const&, boost::filesystem::copy_options, boost::system::error_code*)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function
colmap::CreateDirIfNotExists(std::cxx11::basic_string<char, std::char_traitsboost::filesystem::detail::create_directory(boost::filesystem::path const&, boost::filesystem::path const*, boost::system::error_code*)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function
colmap::GetParentDir(std::boost::filesystem::detail::path_algorithms::find_parent_path_size(boost::filesystem::path const&)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function
colmap::GetRelativePath(std::cxx11::basic_string<char, std::char_traitsboost::filesystem::detail::canonical_v3(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x1295): undefined reference to
boost::filesystem::detail::canonical_v3(boost::filesystem::path const&, boost::filesystem::path const&, boost::system::error_code)' /usr/bin/ld: misc.cc:(.text+0x1318): undefined reference toboost::filesystem::detail::path_algorithms::compare_v3(boost::filesystem::path const&, boost::filesystem::path const&)' /usr/bin/ld: misc.cc:(.text+0x1356): undefined reference to
boost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: misc.cc:(.text+0x135e): undefined reference toboost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: misc.cc:(.text+0x1405): undefined reference to
boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const, char const)' /usr/bin/ld: misc.cc:(.text+0x140d): undefined reference toboost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: misc.cc:(.text+0x148b): undefined reference to
boost::filesystem::detail::path_algorithms::append_v3(boost::filesystem::path&, char const, char const)' /usr/bin/ld: misc.cc:(.text+0x1493): undefined reference toboost::filesystem::detail::path_algorithms::increment_v3(boost::filesystem::path_detail::path_iterator&)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function
colmap::GetRecursiveFileList(std::__cxx11::basic_string<char, std::char_traitsboost::filesystem::detail::recursive_directory_iterator_increment(boost::filesystem::recursive_directory_iterator&, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x2ca7): undefined reference to
boost::filesystem::directory_entry::refresh_impl(boost::system::error_code) const' /usr/bin/ld: misc.cc:(.text+0x2ce4): undefined reference toboost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x2cec): undefined reference to
boost::filesystem::detail::dir_itr_imp::operator delete(void)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in functioncolmap::GetDirList(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)': misc.cc:(.text+0x327a): undefined reference to
boost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::filesystem::directory_options, boost::filesystem::detail::directory_iterator_params, boost::system::error_code)' /usr/bin/ld: misc.cc:(.text+0x33c7): undefined reference toboost::filesystem::directory_entry::refresh_impl(boost::system::error_code*) const' /usr/bin/ld: misc.cc:(.text+0x33e3): undefined reference to
boost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x33eb): undefined reference toboost::filesystem::detail::dir_itr_imp::operator delete(void*)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function
colmap::GetFileList(std::cxx11::basic_string<char, std::char_traitsboost::filesystem::detail::directory_iterator_construct(boost::filesystem::directory_iterator&, boost::filesystem::path const&, boost::filesystem::directory_options, boost::filesystem::detail::directory_iterator_params*, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x3797): undefined reference to
boost::filesystem::directory_entry::refresh_impl(boost::system::error_code) const' /usr/bin/ld: misc.cc:(.text+0x37b3): undefined reference toboost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x37bb): undefined reference to
boost::filesystem::detail::dir_itr_imp::operator delete(void)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function `colmap::GetRecursiveDirList(std::boost::filesystem::detail::recursive_directory_iterator_construct(boost::filesystem::recursive_directory_iterator&, boost::filesystem::path const&, boost::filesystem::directory_options, boost::system::error_code*)' /usr/bin/ld: misc.cc:(.text+0x3a46): undefined reference to
boost::filesystem::detail::recursive_directory_iterator_increment(boost::filesystem::recursive_directory_iterator&, boost::system::error_code)' /usr/bin/ld: misc.cc:(.text+0x3b77): undefined reference to `boost::filesystem::directory_entry::refresh_impl(boost::system::error_code) const' /usr/bin/ld: misc.cc:(.text+0x3bb4): undefined reference toboost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text+0x3bbc): undefined reference to
boost::filesystem::detail::dir_itr_imp::operator delete(void)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function `void boost::sp_adl_block::intrusive_ptr_release<boost::filesystem::detail::dir_itr_imp, boost::sp_adl_block::thread_safe_counter>(boost::sp_adl_block::intrusive_ref_counter<boost::filesystem::detail::dir_itr_imp, boost::sp_adl_block::thread_safe_counter> const)': misc.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x25): undefined reference toboost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail11dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x2e): undefined reference to
boost::filesystem::detail::dir_itr_imp::operator delete(void)' /usr/bin/ld: ../libcolmap.a(misc.cc.o): in function `void boost::sp_adl_block::intrusive_ptr_release<boost::filesystem::detail::recur_dir_itr_imp, boost::sp_adl_block::thread_safe_counter>(boost::sp_adl_block::intrusive_ref_counter<boost::filesystem::detail::recur_dir_itr_imp, boost::sp_adl_block::thread_safe_counter> const)': misc.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail17recur_dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail17recur_dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x55): undefined reference toboost::filesystem::detail::dir_itr_imp::~dir_itr_imp()' /usr/bin/ld: misc.cc:(.text._ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail17recur_dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE[_ZN5boost12sp_adl_block21intrusive_ptr_releaseINS_10filesystem6detail17recur_dir_itr_impENS0_19thread_safe_counterEEEvPKNS0_21intrusive_ref_counterIT_T0_EE]+0x5d): undefined reference to
boost::filesystem::detail::dir_itr_imp::operator delete(void*)' /usr/bin/ld: ../libcolmap.a(option_manager.cc.o): in function `boost::program_options::basic_command_line_parserCan anyone help me with these errors? Thanks!