-
Notifications
You must be signed in to change notification settings - Fork 103
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
Failed to compile Python bindings #947
Comments
Thanks @S-Dafarra for reporting 👍🏻 |
Which swig version are you using @S-Dafarra ? |
Build errors seem to be related to the introduction of the body part ids done in: |
Can you try to modify the https://github.com/robotology/icub-main/blob/master/bindings/icub.i file and try to re-compile? Swig is not able to understand when it needs to re-genereate the bindings file, so perhaps we need to force it to do it. |
4.1.0
I tried again with a clean build, but I had the same error |
I updated
|
The second error is a known problem with swig 4.2.0 that has been solved in 4.2.1, see robotology/robotology-superbuild#1607 and linked builds. Instead I am surprised 4.1.0 does not work, we are testing that in the robotology-superbuild CI. |
To be sure, I pinned |
Just to be sure, have you tried directly a clean build? |
On my WSL i managed to compile the bindings on latest master
@S-Dafarra I had to first do cc @pattacini |
Thanks! Feel free to open it again if required. |
Actually, I deleted the
Thanks for the hint! I managed to get it working too. I had to:
|
An alternative strategy could be to just delete the install folder of the superbuild, and then run again make (of the superbuild, not of ICUB). |
Bug description
I am trying to compile
ICUB
with the Python bindings but I get the following errorI am on Windows using the current master version (4595c48)
Steps to reproduce
Enable
CREATE_PYTHON
and compileExpected behavior
No response
Example repository
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: