Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Linking Matlab Compiler to Visual C++ compiler ???

Subject: Linking Matlab Compiler to Visual C++ compiler ???

From: Animesh Pandey

Date: 29 Dec, 2012 15:10:12

Message: 1 of 2

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 ????

How should I do that ??

Subject: Linking Matlab Compiler to Visual C++ compiler ???

From: Steven_Lord

Date: 31 Dec, 2012 04:13:27

Message: 2 of 2



"Animesh Pandey" <apanimesh061@gmail.com> wrote in message
news:kbn14j$1la$1@newscl01ah.mathworks.com...
> 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.

http://www.mathworks.com/support/sysreq/previous_releases.html

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
slord@mathworks.com
To contact Technical Support use the Contact Us link on
http://www.mathworks.com

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us