Compiler library error message
10 views (last 30 days)
Show older comments
I am trying to compile some code with the "mcc -m *.m" command but I always get the same error message. It used to work in the past. I tried with some very simple code and I still get the same error:
------------------------------------------------------------------------------------------------------
MATLAB:dispatcher:loadLibrary Can't load '/Applications/MATLAB_R2015a.app/bin/maci64/libmwmathlinalg.dylib': dlopen(/Applications/MATLAB_R2015a.app/bin/maci64/libmwmathlinalg.dylib, 10): Library not loaded: libifcore.dylib
Referenced from: /Applications/MATLAB_R2015a.app/bin/maci64/libmwma57.dylib
Reason: image not found.
Unexpected error while determining required deployable files.
------------------------------------------------------------------------------------------------------
I was able to locate every one of those files. They are all in the same folder except for libifcore.dylib which is in the "MATLAB_runtime/v85" folder. My guess is MATLAB is looking for it in another folder corresponding to another version. Any help?
Thanks!
3 Comments
Walter Roberson
on 4 Jun 2016
The library should be in sys/os/maci64/libifcore.dylib . Or at least it is there for R2015b and R2016a, but it was not there as early as R2014a
Answers (0)
See Also
Categories
Find more on MATLAB Compiler in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!