-
Notifications
You must be signed in to change notification settings - Fork 811
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
Eigen Plugins not compiled. #382
Comments
Hello, how did you fix this error ? |
1 similar comment
Hello, how did you fix this error ? |
Apparently this still affects humble. Re-opened. |
I've traced it to this cmake file which pollutes the definitions of any project that and your |
Nice find. Would you be interested to issue a PR to fix it? |
Unfortunately, I do not have the time to properly fix this and check that this doesn't have side effects. |
Can you supply a minimum reproducible example to demonstrate the problem? CI is passing the build, so it's not a use case that's being tested. |
The problem will only appear in projects consuming this library since it's leaking global cmake configurations.
|
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
Thanks. I've pushed to a branch to reproduce this issue. Here's the problem I see.
I likely don't have time to resolve this in the next two weeks (vacation and busy at my day-job), so help is appreciated. An example of them in use is here: https://github.com/facebookincubator/Eigen-FBPlugins/blob/1ad1fe115462178eb549e97c2e97861ef0da76fd/README.md?plain=1#L20 Whatever was done in grid_map seems like quite the leap from what's recommended here: |
I tried applying patch faa4ae0, but found that applying these definitions to the target is more complicated than initially proposed by a public target property because this file is exported. As my branch stands now, this is the configuration error I get trying to use grid_map_core:
Once exported, the library name is I have no idea how well this will work, so for now, I'll propose a draft PR that anyone using plugins can test out. I'd like at least a few users of these to give it a try. |
Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
I don't think you need that config extras file at all. |
If you have availability, can you please submit a PR. Are you saying I change this to PUBLIC AND move that call into the main CMakeLists instead of a confix-extras file? |
I want to use grid_map_core so I built my package using colcon but I keep getting this error;
fatal error: grid_map_core/eigen_plugins/FunctorsPlugin.hpp: No such file or directory
I am using the repo rolling on ubuntu 22.04 and my cmake file looks like this:
The text was updated successfully, but these errors were encountered: