MCR incompatibility with Mountain Lion?
조회 수: 2 (최근 30일)
이전 댓글 표시
Hello,
It seems there is an incompatibility between the MCR and Mountain Lion. The following minimal Python code is just trying to initialize the MCR. It works fine with the MCR v711, but it breaks with the latest one (downloaded from http://www.mathworks.co.uk/products/compiler/mcr/index.html) v80.
import ctypes
libtest = ctypes.cdll.LoadLibrary('libmwmclmcrrt.dylib')
libtest.mclInitializeApplication_proxy(None, 0)
libtest.mclTerminateApplication_proxy
This: mclInitializeApplication_proxy crashes with the following message: libc++abi.dylib: terminate called throwing an exception Abort trap: 6
Does anyone know how to handle this?
Thanks! PJ
댓글 수: 0
답변 (7개)
Andreas Goser
2013년 1월 15일
According this reference, the latest MCR version as of today is MCR 8.0 as part of the product MATLAB Compiler 4.18 and the Release R2012b.
I conclude that it is correct to assume that software versions should not be part of the problem. I cannot assess the cause of the problem, but before you contact MathWorks Technical Support, try createing a very simple stand-alone application in MATLAB Release R2012b and run it on this computer with just the MCR and see how it behaves. This helps to distinguish the location of the error.
댓글 수: 2
Andreas Goser
2013년 2월 5일
A bug was identified by MathWorks Technical Support and Development and a patch was provided for this user.
Pierre-Jean
2013년 1월 13일
댓글 수: 1
Walter Roberson
2013년 1월 15일
I do not have the compiler toolbox, but if you put a copy of your binary up somewhere, I'll try it on Lion (not Mountain Lion) to see what happens here.
You can email me the link; please mention MATLAB in the subject.
Pierre-Jean
2013년 1월 15일
편집: Pierre-Jean
2013년 1월 15일
댓글 수: 1
Andreas Goser
2013년 1월 15일
I will give a technical response below. First a comment with regards to "bugging people" and "MathWorks watching this forum". There are many MathWorks employees contributing to MATLAB Answers. But typically those contributions are based on personal experience and viewpoints and are not an official MathWorks position. If you like to report a bug, please contact MathWorks Technical Support. And with regards to bugging people: You either bug nobody here or everybody. All contributors are here free to read or not, write or not.
Malcolm Lidierth
2013년 1월 17일
It does work on Mountain Lion.
Have you installed the Command Line Tools in XCode Preferences (needed in Mountain Lion) and the patches from TMW:
댓글 수: 0
Pierre-Jean
2013년 1월 17일
댓글 수: 3
Malcolm Lidierth
2013년 1월 17일
@PJ
I will be trying to do that too in a few weeks - so any tips you can share here if you solve it would be welcome.
ML
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!