-
Notifications
You must be signed in to change notification settings - Fork 20
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
Compiling on RHEL8 fails #114
Comments
What I tried to fix the compiler warnings as
but all with the same results. |
Linking against CMake targets is the canonical way to express dependencies. One of the benefits is that it ensures warnings aren’t applied to Eigen headers as you’re seeing. We would not consider what you proposed. |
I see. But apparently, it introduces other issues.. Btw other packages don't do it in the linking-way, e.g., the admittance_controller with origins from PickNik, too. 🤷♂️ Do you have any resources for me for best practices on that topic? |
https://eigen.tuxfamily.org/dox/TopicCMakeGuide.html We’re doing exactly what Eigen recommends. Perhaps your OS is too old for your Eigen installation to include this CMake target. |
Thanks for the link, maybe I have to set CMAKE_PREFIX_PATH on this platform. |
I found some time for trying to fix this. Default on RHEL8 is eigen 3.3.4 and CMake 3.26 Whatever I tried,
--> I always got the same error. The only thing what fixes the build is add NO_MODULE to Is there any disadvantage? any chance to add this in RSL? |
If I had to guess FindEigen3.cmake is some legacy relic from a time before the library provided a config module. 1st party config modules are always preferable to find modules when available. |
Thanks @ChrisThrasher for your help! |
Now are other jobs failing using generate_parameter_library with the same error (both are built from source) Must this |
Could you please test this out? |
Hi, it's me again trying to get a CI pipeline for humble@RHEL working.
But there is some issue with Eigen:
I was able to fix this by just not link the library but add the include folders: christophfroehlich@8d2bace
I don't have much experience with Eigen, but as it is a header-only library, why should one link against it?
With the released version of Eigen on rhel8 there are a lot of build warnings -> I also had to change the compiler flags.
A newer release of Eigen (3.4 for example) hasn't fixed any of those issues.
The text was updated successfully, but these errors were encountered: