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

2 次查看(过去 30 天)
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 CenterFile Exchange 中查找有关 Introduction to Installation and Licensing 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by