Compiled Stand Alone version won't launch on Mountain Lion Macintosh

1 回表示 (過去 30 日間)
Daniel Bertrand
Daniel Bertrand 2012 年 11 月 8 日
I have been running Matlab Compiled Standalone programs since Matlab 2009
After latest upgrade of my computer to MacBook Retina with Mountain Lion and Matlab 2012b and the new Xcode I can compile programs perfectly and I have an executable version that I can launch from a terminal window.
Programs won't launch and I get the error message
Dyld Error Message: Library not loaded: @rpath/libmwcpp11compat.dylib Referenced from: /Users/USER/*/DataMining.app/Contents/MacOS/prelaunch Reason: image not found
even if I have a correct environment set up as seen from the display
HOME=/Users/danielbertrand DYLD_LIBRARY_PATH=DYLD_LIBRARY_PATH:/Applications/MATLAB/MATLAB_Compiler_Runtime/v80/runtime/maci64:/Applications/MATLAB/MATLAB_Compiler_Runtime/v80/sys/os/maci64:/Applications/MATLAB/MATLAB_Compiler_Runtime/v80/bin/maci64
Finally, they are a couple of errors in the help files which have not been updated from the previous version and still refer to X11
Many thanks for your help

回答 (1 件)

Enkh
Enkh 2012 年 11 月 19 日
編集済み: Enkh 2012 年 11 月 19 日
Hi Daniel,
This is a bug with MATLAB Compiler R2012b on Mac. Check out the solution below for the patch:
Let us know if you run into problems with the solution.
Thanks,
Enkh

カテゴリ

Help Center および File ExchangeMATLAB Compiler についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by