Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

make error #825

Closed
Hzx158 opened this issue Aug 13, 2024 · 1 comment · Fixed by #842
Closed

make error #825

Hzx158 opened this issue Aug 13, 2024 · 1 comment · Fixed by #842

Comments

@Hzx158
Copy link

Hzx158 commented Aug 13, 2024

/home/hzx/shit/g2o/g2o/core/optimizable_graph.cpp: In member function ‘bool g2o::OptimizableGraph::verifyInformationMatrices(bool) const’:
/home/hzx/shit/g2o/g2o/core/optimizable_graph.cpp:811:25: error: ‘join’ is not a member of ‘fmt’
811 | fmt::join(ids, " "));
| ^~~~
/home/hzx/shit/g2o/g2o/stuff/logger.h:97:28: note: in definition of macro ‘G2O_WARN’
97 | spdlog::level::warn, VA_ARGS)
| ^~~~~~~~~~~
/home/hzx/shit/g2o/g2o/core/optimizable_graph.cpp:814:25: error: ‘join’ is not a member of ‘fmt’
814 | fmt::join(ids, " "));
| ^~~~
/home/hzx/shit/g2o/g2o/stuff/logger.h:97:28: note: in definition of macro ‘G2O_WARN’
97 | spdlog::level::warn, VA_ARGS)
| ^~~~~~~~~~~
make[2]: *** [g2o/core/CMakeFiles/core.dir/build.make:174:g2o/core/CMakeFiles/core.dir/optimizable_graph.cpp.o] 错误 1
make[1]: *** [CMakeFiles/Makefile2:1138:g2o/core/CMakeFiles/core.dir/all] 错误 2
make: *** [Makefile:156:all] 错误 2

I have installed fmt, but there is a problem.
Can someone tell me the solution?

@RainerKuemmerle
Copy link
Owner

This seems to be an issue in the version of fmt. I guess, we can workaround by adding our own join function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants