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

1 view (last 30 days)
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

Answers (1)

Enkh
Enkh on 19 Nov 2012
Edited: Enkh on 19 Nov 2012
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

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!