Using Visual C++ compiler vs. Lcc compiler
조회 수: 13 (최근 30일)
이전 댓글 표시
Dear All,
I recently set my compilers to the Visual C++ 2008 Express compilers (using mbuild -setup, and mex -setup).
I received warnings saying that if I redistribute my applications, I would have to make sure the Visual Studio run-time libraries are on the computer I am distributing to.
Does this mean that even if I package the MCR with a standalone executable (using the deployment tool), the user would have to install Visual Studio? If I want to prevent this should I simply use the Lcc compiler?
Thanks, Philip
댓글 수: 3
Kaustubha Govind
2011년 2월 24일
Also, see http://www.mathworks.com/support/solutions/en/data/1-3LSMPR/index.html
답변 (1개)
Jan
2011년 2월 25일
I suggest not to use the LCC compiler. The functions compiled by MSVC are remarkably faster. As Kaustubha Govind explained, you do not need the MSVC compiler on the client machine, but just the runtime libs. They are freely available and have a size of some MB only.
참고 항목
카테고리
Help Center 및 File Exchange에서 C Shared Library Integration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!