Sophus uses error reporting 'fmt::v8::detail::error_handler::on_error(char const*)'

The first version of Vision Lecture 14 uses non-template classes, while the second version uses template classes. The two usage methods are different. If the version and code syntax do not match, SO3, fmt and other related errors will occur. Take the template class as an example: change to
#include <sophus/so3.cpp>
: #include <sophus/so3.hpp>
Change in cmakelist:

find_package( FMT REQUIRED )
target_link_libraries( 可执行文件的名称 fmt::fmt)

Sophus::SO3dor Sophus::SO3freplaceSophus::SO3

Guess you like

Origin blog.csdn.net/abcwsp/article/details/124788513