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

Can not compile custom edges after Merge request 506 #535

Open
johannes-graeter opened this issue Jul 20, 2021 · 6 comments
Open

Can not compile custom edges after Merge request 506 #535

johannes-graeter opened this issue Jul 20, 2021 · 6 comments
Labels

Comments

@johannes-graeter
Copy link

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!

@RainerKuemmerle
Copy link
Owner

Does #536 fix the problem for you?

@MalcolmMielle
Copy link

I have the same problem with my custom edges on fedora 36. The PR sadly didn't fix it. Did you find a solution?

@artofnothingness
Copy link

Installing libceres-dev on ubuntu solves the issue for me. So, probably you should install ceres libs

@MalcolmMielle
Copy link

Yep same on fedora. Not using the vendored version solved the problem.

@lzyplayer
Copy link

lzyplayer commented Jan 11, 2023

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.

Copy link

github-actions bot commented Jan 7, 2025

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 14 days.

@github-actions github-actions bot added the Stale label Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants