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
#ifdef SOPHUS_COMPILE_TIME_FMT
// To keep compatibility with older libfmt versions,
// disable the compile time check if FMT_STRING is not available.
#ifdef FMT_STRING
// compile-time format check on x
#define SOPHUS_FMT_STRING(x) FMT_STRING(x)
#else
// identity, hence no compile-time check on x
#define SOPHUS_FMT_STRING(x) x
#endif
#else // ! SOPHUS_COMPILE_TIME_FMT
// identity, hence no compile-time check on x
#define SOPHUS_FMT_STRING(x) x
#endif // ! SOPHUS_COMPILE_TIME_FMT
Raspberry buster has libfmt-dev version 5.x
However, last commit (#376) about this file was dedicated to libfmt-dev 9.0
The solution suggested by @timecod worked for me.
The problem was with the libfmt version. After installing the latest version libfmt-dev manually, the Sophus was compiled successfully without any error. I followed the following steps:
Uninstall the libfmt-dev package installed through apt manager
$ sudo apt-get remove --purge libfmt-dev
Download the libfmt-dev source package from this github repository:
$ git clone https://github.com/fmtlib/fmt.git
$ cd fmt
$ mkdir build
$ cd build
$ cmake ..
$ sudo make install
Now follow the instructions for Sophus installation as explained in the first message.
I think the issue is resolved now. Hence, closing this issue.
Hi,
I am trying to compile this package on Raspberry Pi 4 with Buster OS. I follow the following instruction available on this page:
I get the following error:
Machine specs are as given below:
I also tried changing the compiler from ++11 to ++14 by using the following command:
This did not help either. Is there anything else that I can try to solve this error? Thanks in advance.
Regards,
Swagat
The text was updated successfully, but these errors were encountered: