Closed sari-saba-sadiya closed 2 years ago
Hi Sari,
Yes, this looks like you need to recompile. You are probably right that the problem is Matlab version as they keep changing how compilation flags work. You might try downloading the 2015a version of Matlab and seeing if you can compile with that.
On Jan 24, 2021, at 8:20 PM, Sari Saba Sadiya notifications@github.com wrote:
Hi,
I am running on macOs high sierra 10.13.9 with xcode 9 and matlab 2017b. This specific setup is necessary as I am using openBCI which does not work well with previous versions.
When running initscreen I get the error: Invalid MEX-file '/Users/admin/apps/mgl/mgllib/mglResolution.mexmaci64': dlopen(/Users/admin/apps/mgl/mgllib/mglResolution.mexmaci64, 6): Library not loaded: @loader_path/libmex.dylib
I tried to recompile using mglMake however I then get the error Error using mex mexopts.10.5.sh is not a valid XML file.
I believe that the both errors originate from the things having changed between recent matlab versions. This suspicion is supported by the fact that the same code ran fine with macOS El Capitan 10.11 and matlab 2015.
A day of googling did not yield any results, updating the DYLD_LIBRARY_PATH and trying to recompile.
Any guidance would be greatly appreciated.
Thank you very much!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/justingardner/mgl/issues/34, or unsubscribe https://github.com/notifications/unsubscribe-auth/AB3Y7IYPZMBK2DLZT6KIXMDS3TWPPANCNFSM4WREHTJA.
Closing out - we are working on a new version of metal (based on metal) with new compilation scripts mglMakeMetal this will be the new default version of mgl for newer systems / matlab versions / OS versions
Hi,
I am running on macOs high sierra 10.13.9 with xcode 9 and matlab 2017b. This specific setup is necessary as I am using openBCI which does not work well with previous versions.
When running initscreen I get the error:
Invalid MEX-file '/Users/admin/apps/mgl/mgllib/mglResolution.mexmaci64': dlopen(/Users/admin/apps/mgl/mgllib/mglResolution.mexmaci64, 6): Library not loaded: @loader_path/libmex.dylib
I tried to recompile using
mglMake
however I then get the errorError using mex mexopts.10.5.sh is not a valid XML file.
I believe that the both errors originate from the things having changed between recent matlab versions. This suspicion is supported by the fact that the same code ran fine with macOS El Capitan 10.11 and matlab 2015.
A day of googling did not yield any results, updating the
DYLD_LIBRARY_PATH
and trying to recompile.Any guidance would be greatly appreciated.
Thank you very much!