Skip to content
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

Cannot make it work for Matlab under Ubunto20 #31

Closed
Amir-Zargar opened this issue Oct 17, 2022 · 1 comment · Fixed by #32
Closed

Cannot make it work for Matlab under Ubunto20 #31

Amir-Zargar opened this issue Oct 17, 2022 · 1 comment · Fixed by #32

Comments

@Amir-Zargar
Copy link

After developing our Matlab codes using OpenGJK under windows, we would like to use our Matlab codes which call OpenGJK under ROS-Ubuntu20 (Linux). I had to recreate Mex file (Matlab under Linux needs .mexa64). I then used it for the given example, but I got this error: Invalid MEX-file - Gateway function is missing.

I used different gcc compiler (8 to 10) as well as -r2017 and -r2018 version within Matlab mex command to generate mex file, but I am getting always the same error.

Could you please help to have a valid mexa64 file of OpenGJK? If this works for you, could you please let us know what is the setting and options of Matlab mex command?

Thank you

@MattiaMontanari MattiaMontanari linked a pull request Oct 17, 2022 that will close this issue
@MattiaMontanari
Copy link
Owner

I pushed a trivial change that shuold get you a step further. However I don't know what version you're running. If you had the latest version you would not be able to compile on Win either.

Feel free to post the new error or, even better, contribute to this repo with any changes to had to make to get it to work on Win.
I don't have a matlab license anymore and unfortunately I cannot guarantee my fix will work.

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 a pull request may close this issue.

2 participants