SLAM十四讲ch7编译报错undefined reference to `fmt::v10::detail::throw_format_error(char const*)‘

[ 66%] Linking CXX executable pose_estimation_3d3d
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `unsigned long long fmt::v10::detail::width_checker<fmt::v10::detail::error_handler>::operator()<float, 0>(float) [clone .isra.0]':
pose_estimation_3d3d.cpp:(.text+0xe): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `unsigned long long fmt::v10::detail::precision_checker<fmt::v10::detail::error_handler>::operator()<float, 0>(float) [clone .isra.0]':
pose_estimation_3d3d.cpp:(.text+0x2e): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `VertexPose::oplusImpl(double const*)':
pose_estimation_3d3d.cpp:(.text._ZN10VertexPose9oplusImplEPKd[_ZN10VertexPose9oplusImplEPKd]+0xa9b): undefined reference to `fmt::v10::vprint(fmt::v10::basic_string_view<char>, fmt::v10::basic_format_args<fmt::v10::basic_format_context<fmt::v10::appender, char> >)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN10VertexPose9oplusImplEPKd[_ZN10VertexPose9oplusImplEPKd]+0xabd): undefined reference to `fmt::v10::vprint(fmt::v10::basic_string_view<char>, fmt::v10::basic_format_args<fmt::v10::basic_format_context<fmt::v10::appender, char> >)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN10VertexPose9oplusImplEPKd[_ZN10VertexPose9oplusImplEPKd]+0xb4e): undefined reference to `fmt::v10::vprint(fmt::v10::basic_string_view<char>, fmt::v10::basic_format_args<fmt::v10::basic_format_context<fmt::v10::appender, char> >)'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `char const* fmt::v10::detail::parse_dynamic_spec<char>(char const*, char const*, int&, fmt::v10::detail::arg_ref<char>&, fmt::v10::basic_format_parse_context<char>&)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail18parse_dynamic_specIcEEPKT_S5_S5_RiRNS1_7arg_refIS3_EERNS0_26basic_format_parse_contextIS3_EE[_ZN3fmt3v106detail18parse_dynamic_specIcEEPKT_S5_S5_RiRNS1_7arg_refIS3_EERNS0_26basic_format_parse_contextIS3_EE]+0xc0): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail18parse_dynamic_specIcEEPKT_S5_S5_RiRNS1_7arg_refIS3_EERNS0_26basic_format_parse_contextIS3_EE[_ZN3fmt3v106detail18parse_dynamic_specIcEEPKT_S5_S5_RiRNS1_7arg_refIS3_EERNS0_26basic_format_parse_contextIS3_EE]+0x111): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail18parse_dynamic_specIcEEPKT_S5_S5_RiRNS1_7arg_refIS3_EERNS0_26basic_format_parse_contextIS3_EE[_ZN3fmt3v106detail18parse_dynamic_specIcEEPKT_S5_S5_RiRNS1_7arg_refIS3_EERNS0_26basic_format_parse_contextIS3_EE]+0x250): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail18parse_dynamic_specIcEEPKT_S5_S5_RiRNS1_7arg_refIS3_EERNS0_26basic_format_parse_contextIS3_EE[_ZN3fmt3v106detail18parse_dynamic_specIcEEPKT_S5_S5_RiRNS1_7arg_refIS3_EERNS0_26basic_format_parse_contextIS3_EE]+0x25c): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `char const* fmt::v10::formatter<fmt::v10::basic_string_view<char>, char, void>::parse<fmt::v10::basic_format_parse_context<char> >(fmt::v10::basic_format_parse_context<char>&)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v109formatterINS0_17basic_string_viewIcEEcvE5parseINS0_26basic_format_parse_contextIcEEEEPKcRT_[_ZN3fmt3v109formatterINS0_17basic_string_viewIcEEcvE5parseINS0_26basic_format_parse_contextIcEEEEPKcRT_]+0x90): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o:pose_estimation_3d3d.cpp:(.text._ZN3fmt3v109formatterINS0_17basic_string_viewIcEEcvE5parseINS0_26basic_format_parse_contextIcEEEEPKcRT_[_ZN3fmt3v109formatterINS0_17basic_string_viewIcEEcvE5parseINS0_26basic_format_parse_contextIcEEEEPKcRT_]+0x221): more undefined references to `fmt::v10::detail::throw_format_error(char const*)' follow
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `void fmt::v10::detail::format_value<char, double>(fmt::v10::detail::buffer<char>&, double const&, fmt::v10::detail::locale_ref)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail12format_valueIcdEEvRNS1_6bufferIT_EERKT0_NS1_10locale_refE[_ZN3fmt3v106detail12format_valueIcdEEvRNS1_6bufferIT_EERKT0_NS1_10locale_refE]+0x137): undefined reference to `std::locale fmt::v10::detail::locale_ref::get<std::locale>() const'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `void fmt::v10::detail::format_value<char, Eigen::Transpose<Eigen::Matrix<double, 3, 1, 0, 3, 1> const> >(fmt::v10::detail::buffer<char>&, Eigen::Transpose<Eigen::Matrix<double, 3, 1, 0, 3, 1> const> const&, fmt::v10::detail::locale_ref)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail12format_valueIcN5Eigen9TransposeIKNS3_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEEvRNS1_6bufferIT_EERKT0_NS1_10locale_refE[_ZN3fmt3v106detail12format_valueIcN5Eigen9TransposeIKNS3_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEEvRNS1_6bufferIT_EERKT0_NS1_10locale_refE]+0x137): undefined reference to `std::locale fmt::v10::detail::locale_ref::get<std::locale>() const'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `fmt::v10::detail::counting_iterator fmt::v10::detail::write_escaped_string<char, fmt::v10::detail::counting_iterator>(fmt::v10::detail::counting_iterator, fmt::v10::basic_string_view<char>)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail20write_escaped_stringIcNS1_17counting_iteratorEEET0_S4_NS0_17basic_string_viewIT_EE[_ZN3fmt3v106detail20write_escaped_stringIcNS1_17counting_iteratorEEET0_S4_NS0_17basic_string_viewIT_EE]+0x25e): undefined reference to `fmt::v10::detail::is_printable(unsigned int)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail20write_escaped_stringIcNS1_17counting_iteratorEEET0_S4_NS0_17basic_string_viewIT_EE[_ZN3fmt3v106detail20write_escaped_stringIcNS1_17counting_iteratorEEET0_S4_NS0_17basic_string_viewIT_EE]+0x2d8): undefined reference to `fmt::v10::detail::is_printable(unsigned int)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail20write_escaped_stringIcNS1_17counting_iteratorEEET0_S4_NS0_17basic_string_viewIT_EE[_ZN3fmt3v106detail20write_escaped_stringIcNS1_17counting_iteratorEEET0_S4_NS0_17basic_string_viewIT_EE]+0x518): undefined reference to `fmt::v10::detail::is_printable(unsigned int)'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `fmt::v10::appender fmt::v10::detail::write_escaped_string<char, fmt::v10::appender>(fmt::v10::appender, fmt::v10::basic_string_view<char>)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail20write_escaped_stringIcNS0_8appenderEEET0_S4_NS0_17basic_string_viewIT_EE[_ZN3fmt3v106detail20write_escaped_stringIcNS0_8appenderEEET0_S4_NS0_17basic_string_viewIT_EE]+0x2b6): undefined reference to `fmt::v10::detail::is_printable(unsigned int)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail20write_escaped_stringIcNS0_8appenderEEET0_S4_NS0_17basic_string_viewIT_EE[_ZN3fmt3v106detail20write_escaped_stringIcNS0_8appenderEEET0_S4_NS0_17basic_string_viewIT_EE]+0x2f9): undefined reference to `fmt::v10::detail::is_printable(unsigned int)'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o:pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail20write_escaped_stringIcNS0_8appenderEEET0_S4_NS0_17basic_string_viewIT_EE[_ZN3fmt3v106detail20write_escaped_stringIcNS0_8appenderEEET0_S4_NS0_17basic_string_viewIT_EE]+0x50e): more undefined references to `fmt::v10::detail::is_printable(unsigned int)' follow
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `void fmt::v10::detail::value<fmt::v10::basic_format_context<fmt::v10::appender, char> >::format_custom_arg<fmt::v10::detail::streamed_view<Eigen::Transpose<Eigen::Matrix<double, 3, 1, 0, 3, 1> const> >, fmt::v10::formatter<fmt::v10::detail::streamed_view<Eigen::Transpose<Eigen::Matrix<double, 3, 1, 0, 3, 1> const> >, char, void> >(void*, fmt::v10::basic_format_parse_context<char>&, fmt::v10::basic_format_context<fmt::v10::appender, char>&)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x555): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x58c): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x67d): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x695): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x77c): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o:pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x7bc): more undefined references to `fmt::v10::detail::throw_format_error(char const*)' follow
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `void fmt::v10::detail::format_value<char, Eigen::Transpose<Eigen::Matrix<double, 4, 1, 0, 4, 1> > >(fmt::v10::detail::buffer<char>&, Eigen::Transpose<Eigen::Matrix<double, 4, 1, 0, 4, 1> > const&, fmt::v10::detail::locale_ref)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail12format_valueIcN5Eigen9TransposeINS3_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEEvRNS1_6bufferIT_EERKT0_NS1_10locale_refE[_ZN3fmt3v106detail12format_valueIcN5Eigen9TransposeINS3_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEEvRNS1_6bufferIT_EERKT0_NS1_10locale_refE]+0x137): undefined reference to `std::locale fmt::v10::detail::locale_ref::get<std::locale>() const'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o: in function `void fmt::v10::detail::value<fmt::v10::basic_format_context<fmt::v10::appender, char> >::format_custom_arg<fmt::v10::detail::streamed_view<Eigen::Transpose<Eigen::Matrix<double, 4, 1, 0, 4, 1> > >, fmt::v10::formatter<fmt::v10::detail::streamed_view<Eigen::Transpose<Eigen::Matrix<double, 4, 1, 0, 4, 1> > >, char, void> >(void*, fmt::v10::basic_format_parse_context<char>&, fmt::v10::basic_format_context<fmt::v10::appender, char>&)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x555): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x58c): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x67d): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x695): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x77c): undefined reference to `fmt::v10::detail::throw_format_error(char const*)'
/usr/bin/ld: CMakeFiles/pose_estimation_3d3d.dir/pose_estimation_3d3d.cpp.o:pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_]+0x7bc): more undefined references to `fmt::v10::detail::throw_format_error(char const*)' follow

在编译ch7工程时,链接pose_estimation_3d2d.cpp和pose_estimation_3d3d.cpp的时候报错undefined reference to `fmt::v10::detail::throw_format_error(char const*)'

解决方法是在CMakeLists.txt文件中,include_directory命令中添加一行"/usr/local/include/fmt";在为pose_estimation_3d2d.cpp和pose_estimation_3d3d.cpp两个文件添加链接库时,添加上fmt路径。如图

  • 6
    点赞
  • 6
    收藏
    觉得还不错? 一键收藏
  • 1
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值