-
Notifications
You must be signed in to change notification settings - Fork 12
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
MEX-file Error #5
Comments
Today I discovered that Matlab versions above 2016b have problems resolving @loader_path and requires a slight modification on how to resolve dynamic library paths. I am on macOS so the commands for linux is different (ldd instad of otool for example) but it seems that if you change the @loader_paths in the following command using the install_name_tool like indicated below (just for @loader_path ones) so that you get the second result with otool it seems to work in newer versions of Matlab. I am just writing this down so that it might help some others since I was keeping two copies of Matlab until now to keep MCRoomSim running. In the terminal in MCRoomSim folder:
MCRoomSim.mexmaci64:
MCRoomSim.mexmaci64: Hope this helps, |
I get a MEX error (shown below) when trying to use the RunMCRoom() function. Any idea what might be the cause?
The text was updated successfully, but these errors were encountered: