You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I followed the install instruction, and can compiler Sophus, but face the following error:
XXXXX/Sophus/sophus/common.hpp:42:10: fatal error: fmt/core.h: No such file or directory
#include <fmt/core.h>
^~~~~~~~~~~~
I checked the CMakelist of Sophus, and found the following settings:
if(USE_BASIC_LOGGING)
set (CMAKE_DISABLE_FIND_PACKAGE_fmt ON)
endif()
Should I set OFF and re-make the Sophus?
I modified the Sophus cmake file, and installed sucessfully, but facing make error in minisam, and occured many times during compile the examples (optimize_custom_type, robust_curve_fitting, pose_graph_example, etc.):
../../minisam/libminisam.so: undefined reference to fmt::v8::vprint(fmt::v8::basic_string_view<char>, fmt::v8::basic_format_args<fmt::v8::basic_format_context<fmt::v8::appender, char> >)' ../../minisam/libminisam.so: undefined reference to fmt::v8::detail::throw_format_error(char const*)'
../../minisam/libminisam.so: undefined reference to `std::locale fmt::v8::detail::locale_ref::getstd::locale() const'
collect2: error: ld returned 1 exit status
examples/cpp/CMakeFiles/optimize_custom_type.dir/build.make:111: recipe for target 'examples/cpp/optimize_custom_type' failed
make[2]: *** [examples/cpp/optimize_custom_type] Error 1
CMakeFiles/Makefile2:1171: recipe for target 'examples/cpp/CMakeFiles/optimize_custom_type.dir/all' failed
make[1]: *** [examples/cpp/CMakeFiles/optimize_custom_type.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
The text was updated successfully, but these errors were encountered:
I followed the install instruction, and can compiler Sophus, but face the following error:
XXXXX/Sophus/sophus/common.hpp:42:10: fatal error: fmt/core.h: No such file or directory
#include <fmt/core.h>
^~~~~~~~~~~~
I checked the CMakelist of Sophus, and found the following settings:
if(USE_BASIC_LOGGING)
set (CMAKE_DISABLE_FIND_PACKAGE_fmt ON)
endif()
Should I set OFF and re-make the Sophus?
I modified the Sophus cmake file, and installed sucessfully, but facing make error in minisam, and occured many times during compile the examples (optimize_custom_type, robust_curve_fitting, pose_graph_example, etc.):
../../minisam/libminisam.so: undefined reference to
fmt::v8::vprint(fmt::v8::basic_string_view<char>, fmt::v8::basic_format_args<fmt::v8::basic_format_context<fmt::v8::appender, char> >)' ../../minisam/libminisam.so: undefined reference to
fmt::v8::detail::throw_format_error(char const*)'../../minisam/libminisam.so: undefined reference to `std::locale fmt::v8::detail::locale_ref::getstd::locale() const'
collect2: error: ld returned 1 exit status
examples/cpp/CMakeFiles/optimize_custom_type.dir/build.make:111: recipe for target 'examples/cpp/optimize_custom_type' failed
make[2]: *** [examples/cpp/optimize_custom_type] Error 1
CMakeFiles/Makefile2:1171: recipe for target 'examples/cpp/CMakeFiles/optimize_custom_type.dir/all' failed
make[1]: *** [examples/cpp/CMakeFiles/optimize_custom_type.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
The text was updated successfully, but these errors were encountered: