locusrobotics / fuse

The fuse stack provides a general architecture for performing sensor fusion live on a robot. Some possible applications include state estimation, localization, mapping, and calibration.
Other
729 stars 122 forks source link

Fixing issue with Eigen in Ubuntu Jammy on ARM #378

Closed ayrton04 closed 2 months ago

ayrton04 commented 3 months ago

On ARM, the use of Eigen 3.4 with g++11 (both the versions in Jammy) causes a warning, which in turn causes the build to fail. Details are here: https://gitlab.com/libeigen/eigen/-/issues/2326. We can suppress the warning for ARM builds by checking for the specific versions of the affected packages and architecture.

If anyone has a more reliable (yet equally succinct) way of testing for ARM, please fill me in.

ayrton04 commented 2 months ago

Yes, sorry. Haven't had the cycles to look at this. Will pick it back up.

ayrton04 commented 2 months ago

@svwilliams are you still OK with this?

svwilliams commented 2 months ago

Yep. Do you need the same thing in one of the ROS2 branches as well?

ayrton04 commented 2 months ago

Probably, but I haven't tried building it in ROS 2 on ARM/Jammy yet. Still, there's nothing in this change that's tied to any version of ROS, so I can add another branch for that.