SLAM Lecture 14 ch7 compilation error 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 & amp ;, fmt::v10::detail::arg_ref<char> & amp;, fmt::v10::basic_format_parse_context<char> & amp;)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail18parse_dynamic_specIcEEPKT_S5_S5_RiRNS1_7arg_refIS3_EERNS0_26basic_format_parse_contextIS3_EE[_ZN3fmt3v106detail18parse_dynamic_specIcEEPKT_S5_S5_RiRN S1_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> & amp;)':
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_[_Z N3fmt3v109formatterINS0_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> & amp;, double const & amp;, fmt::v10::detail::locale_ref)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail12format_valueIcdEEvRNS1_6bufferIT_EERKT0_NS1_10locale_refE[_ZN3fmt3v106detail12format_valueIcdEEvRNS1_6bufferIT_EERKT0_NS1_10locale_refE] + 0x 137): 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> & amp;, Eigen::Transpose<Eigen::Matrix<double, 3, 1, 0, 3, 1 > const> const & amp;, fmt::v10::detail::locale_ref)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail12format_valueIcN5Eigen9TransposeIKNS3_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEEvRNS1_6bufferIT_EERKT0_NS1_10locale_refE[_ZN3fmt3v106detail12format_valueI cN5Eigen9TransposeIKNS3_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[_ZN3fmt3v 106detail20write_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> & amp;, fmt::v10::basic_format_context<fmt::v10::appender, char> & amp;)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEE vPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9forma tterISF_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_9forma tterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EE EEEEENS0_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_9forma tterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EE EEEEENS0_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_9forma tterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EE EEEEENS0_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_9forma tterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EE EEEEENS0_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_viewIN5Eigen 9TransposeIKNS9_6MatrixIdLi3ELi1ELi0ELi3ELi1EEEEEEENS0_9formatterISF_cvEEEEvPvRNS0_26basic_format_parse_contextIcEERS5_[_ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13stream ed_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> & amp;, 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_valueIcN 5Eigen9TransposeINS3_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> & amp;, fmt::v10::basic_format_context<fmt::v10::appender, char> & amp;)':
pose_estimation_3d3d.cpp:(.text._ZN3fmt3v106detail5valueINS0_20basic_format_contextINS0_8appenderEcEEE17format_custom_argINS1_13streamed_viewIN5Eigen9TransposeINS9_6MatrixIdLi4ELi1ELi0ELi4ELi1EEEEEEENS0_9formatterISE_cvEEEEvP vRNS0_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_9formatterI SE_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_9formatterI SE_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_9formatterI SE_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_9formatterI SE_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_viewIN5Eigen 9TransposeINS9_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

When compiling the ch7 project, an error undefined reference to `fmt::v10::detail::throw_format_error(char const*)’ is reported when linking pose_estimation_3d2d.cpp and pose_estimation_3d3d.cpp.

The solution is to add a line “/usr/local/include/fmt” to the include_directory command in the CMakeLists.txt file; when adding link libraries to the pose_estimation_3d2d.cpp and pose_estimation_3d3d.cpp files, add the fmt path. As shown in the picture

The knowledge points of the article match the official knowledge files, and you can further learn related knowledge. OpenCV skill treeHomepage Overview 23957 people are learning the system