g2o
g2o copied to clipboard
Can not compile custom edges after Merge request 506
Thx for your great work! After merge of https://github.com/RainerKuemmerle/g2o/pull/506 I can not compile my custom edges anymore (Setting G2O_USE_VENDORED_CERES of course). Error: /usr/local/include/g2o/core/base_fixed_sized_edge.h:37:12: fatal error: ceres/internal/fixed_array.h: No such file or directory 37 | #include <ceres/internal/fixed_array.h>
You help is much appreciated!
Does https://github.com/RainerKuemmerle/g2o/pull/536 fix the problem for you?
I have the same problem with my custom edges on fedora 36. The PR sadly didn't fix it. Did you find a solution?
Installing libceres-dev on ubuntu solves the issue for me. So, probably you should install ceres libs
Yep same on fedora. Not using the vendored version solved the problem.
Thx for your great work! After merge of #506 I can not compile my custom edges anymore (Setting G2O_USE_VENDORED_CERES of course). Error: /usr/local/include/g2o/core/base_fixed_sized_edge.h:37:12: fatal error: ceres/internal/fixed_array.h: No such file or directory 37 | #include <ceres/internal/fixed_array.h>
You help is much appreciated!
Actually if you set G2O_USE_VENDORED_CERES
correctly, that line is supposed to be ignored
g2o/core/base_fixed_sized_edge.h:37
#ifdef G2O_USE_VENDORED_CERES
#include "g2o/EXTERNAL/ceres/fixed_array.h"
#else
#include <ceres/internal/fixed_array.h>
#endif
It will search for "g2o/EXTERNAL/ceres/fixed_array.h"
instead.