From: "Steven_Lord" <>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Linking Matlab Compiler to Visual C++ compiler ???
Date: Sun, 30 Dec 2012 23:13:27 -0500
Organization: MathWorks
Lines: 34
Message-ID: <kbr3d8$p2g$>
References: <kbn14j$1la$>
Mime-Version: 1.0
Content-Type: text/plain;
Content-Transfer-Encoding: 7bit
X-Trace: 1356927208 25680 (31 Dec 2012 04:13:28 GMT)
NNTP-Posting-Date: Mon, 31 Dec 2012 04:13:28 +0000 (UTC)
In-Reply-To: <kbn14j$1la$>
X-Priority: 3
X-MSMail-Priority: Normal
Importance: Normal
X-Newsreader: Microsoft Windows Live Mail 14.0.8089.726
X-MimeOLE: Produced By Microsoft MimeOLE V14.0.8089.726
Xref: comp.soft-sys.matlab:785643

"Animesh Pandey" <> wrote in message 
> I am using Matlab 2010 and VS2010. I have the Matlab Compiler Runtime 
> installed in my system. Whenever if run command mcc -setup I get only one 
> compiler lcc. This compiler gives a lot of errors when used to build a C++ 
> shared library using deployment tool. It builds only C Shared libraries 
> correctly.
> Can I also connect VC++ compiler with MCC ????

Make sure that the compiler you're trying to use is supported with the 
version of MATLAB you're using and that if you need to install any 
additional components that they are installed.

Also make sure you've used "mbuild -setup"

> How should I do that ??

If those don't resolve the problem, send the FULL text of the error messages 
you receive when you try to build the library to Technical Support. [Please 
DON'T send it to me directly; I don't work with MATLAB Compiler often enough 
to be able to diagnose a problem like that as quickly as Support would be 
able to.]

Steve Lord
To contact Technical Support use the Contact Us link on