-
Notifications
You must be signed in to change notification settings - Fork 795
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
Build fails on WSL Ubuntu 24 #1994
Comments
Faced the same issue. From what I understand the Lines 11 to 24 in 7b56d66
...will always fail as it's never set in CMakeLists.txt. The #1995 includes a potential fix, please test it. |
Hi Arkadiusz, Thanks for the potential fix. It does seem to fix the initial error I reported as the build then proceeds passed the point at which it failed for me. However, I then seem to run into a new issue:
Perhaps the Are you also running into this issue? |
No, I didn't have this error, sorry... Looks like you are using gcc 13.3.0, that's fairly new version. Mine is still 9.4.0. I would try updating with |
Thanks Arkadiusz I'll try that out! |
Did a quick installation of WSL Ubuntu-24.04 and can confirm: the issue is there with the gcc 13.3.0. Updating the gcc to 14.2 didn't help. Guess the issue is with the newer compilers and the Eigen lib. Maybe new versions of Eigen already fixed that? @juanlm-verus You can try to downgrade the gcc or install older Ubuntu. I'm using Ubuntu-20.04, 22.04 might work as well. |
I'm currently trying with GCC 9.5 on Ubuntu 24.04. I'll also get back here on how that goes. If that fails I will try with an older version of Ubuntu. Thanks Arkadiusz |
You can use a later version of Eigen, just install it and have GTSAM use system Eigen. |
Following up from #1981
Running WSL2
Following instructions as described in the INSTALL.md file:
I get the following:
The previous issue #1981 was closed so I'm assuming that the build did succeed after merging the changes.
The text was updated successfully, but these errors were encountered: