-
Notifications
You must be signed in to change notification settings - Fork 194
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
issue with swig 4.2.0 #3083
Comments
Did you tried with swig master? I think the fix for swig/swig#2783 should have fixed yarp generation, but perhaps I was testing an earlier version of YARP. |
It looks like that Ubuntu 24.04 is currently including by default swig 4.2.0 |
Yes, unfortunately Ubuntu 24.04 got released in the unlucky windows between swig 4.2.0 and 4.2.1 . In the superbuild to handle this case we download (just on Ubuntu 24.04 when compiling with apt dependencies) a private swig binary that is just used for YARP: robotology/robotology-superbuild#1642 and https://github.com/robotology/robotology-superbuild/blob/df8e0567f194ca410581a8ddc36fa30880c25f3a/cmake/RobotologySuperbuildLogic.cmake#L39-L64 . |
Thank you @traversaro , I'll follow your suggestion for Yarp CI with Ubuntu 24.04 |
On a side note, it seems that SWIG 4.2.0 is preinstalled on Ubuntu 24.04 runners for GitHub Actions. I had to remove the "swig" package via apt before building it from sources. |
Swig 4.2.0 seems not to work properly with yarp master: when compiling I get this error "Type Error. Expecting an integral type" on some enums.
I reported the error here: swig/swig#2796
The recommended version of swing to use is thus 4.0.2
The text was updated successfully, but these errors were encountered: