-
Notifications
You must be signed in to change notification settings - Fork 1
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
CI failure with GTSAM related to boost headers [Windows] [Ubuntu&MacOS- solved] #19
Comments
Looks like GTSAM installation passed in macOS here |
macOS CI is in place. Windows and Linux, not yet. |
cc @traversaro would you have any suggestions? |
Both Windows and Linux CI's GTSAM is not getting the boost from the configured cmake variable |
On Windows/conda, why you don't just install boost via conda? |
I had tried that here. It didn't seem to work. |
Ah, you mean via conda channel? instead of using robotology channel? I shall try that. (Sorry quite new to conda environment and still haven't taken the training program completely. ;D) mamba install -c conda boost something like this? |
Replaced However, manually configured cmake variables are not being used, in Ubuntu CI. |
You just need to add the |
At the moment, I am unable to reach a solution for both Windows and Ubuntu, and I prefer to handle this later. Last trace error: Boost version 1.58 (tested with ubuntu) or 1.67 (tested with windows) cannot be found with python 3.9.6, while trying to install with conda-force channel. One CI is better than no CI. Currently MacOS CI is working. We can merge the branch with macOS CI to master. |
@traversaro For ubuntu, I found a packaging for gtsam. Do you think we could use this directly? But version seems quite old. |
No, I strongly suggest not to use any conda channel outside of |
Noted!! |
Thanks to @traversaro, Ubuntu CI is functional now. See #22. |
While trying to setup a CI with GTSAM as dependency and trying to build it from source, GTSAM fails to compile due to boost dependencies.
See the list of failures in,
https://github.com/dic-iit/kindyn-vio/actions?query=is%3Afailure+branch%3Afeature%2Fsetup-workflow
I have tried different combinations of boost versions with GTSAM to try and fix the compilation.
Looks like Github Actions stopped supporting boost? https://github.com/actions/boost-versions
and GTSAM devs have fixed boost CI installation using custom scripts. https://github.com/borglab/gtsam/pull/720/files
For windows, they started to use https://github.com/MarkusJx/install-boost (can be configured for both windows and ubuntu but not macOS).
I tried using the same action for both Ubuntu and Windows, in vain, unable to reach a fix.
The text was updated successfully, but these errors were encountered: