在使用eigen3和sophus 库时,如遇到以下错误
undefined reference to `vtable for fmt::v7::format_error'
undefined reference to `fmt::v7::detail::assert_fail(char const*, int, char const*)'
---
多半是没有链接fmt库,链接上fmt 库应该就没问题。
target_link_libraries(useSophus ${Sophus_LIBRARIES} fmt)