Skip to content

python module compatability with SWIG 4.3.0+ for AppendOutput. #573

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jdiyn
Copy link
Contributor

@jdiyn jdiyn commented May 8, 2025

See the following:
https://sourceforge.net/projects/swig/files/swig/swig-4.3.0/#:~:text=New%20declaration%20of%20SWIG_Python_AppendOutput%20is,now

Alternatively, there's a macro approach that was set up:
swig/swig#2907

Thus far I found with the core & vehicle python modules, only the chmatrix.i in core raises the issue. Also I found the older appendoutput with 2 args is also in Chrono's numpy.i under sensors (though i haven't compiled or tested that module) - presumably the same fix/upgrade could be applied there, or alternatively make use of the SWIG macro for a global approach :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant