Thread Subject: mbuild -setup: no compiler detected

Subject: mbuild -setup: no compiler detected

From: Jorge

Date: 14 Nov, 2007 15:26:47

Message: 1 of 4

Dear list members,

While running the command mbuild -setup allowing it to
locate installed compilers none are detected.

I am using the 64 bits Matlab R2007b version and I need to
compile some mex files. Does anyone know how to install a
new compiler and how to tell matlab that I want to use it?

The mcc compiler is installed but matlab does not put it
in the list, I have also installed a lcc-win32 compiler
which is not shown in the list.

Any ideas?

Thanks a lot in advance!

Best Regards!,
S.

Subject: mbuild -setup: no compiler detected

From: Derek O'Connor

Date: 14 Nov, 2007 19:37:42

Message: 2 of 4

"Jorge " <sergio_l_nospam@hotmail.com> wrote in message
<fhf43n$j0k$1@fred.mathworks.com>...
> Dear list members,
>
> While running the command mbuild -setup allowing it to
> locate installed compilers none are detected.
>
> I am using the 64 bits Matlab R2007b version and I need to
> compile some mex files. Does anyone know how to install a
> new compiler and how to tell matlab that I want to use it?
>
> The mcc compiler is installed but matlab does not put it
> in the list, I have also installed a lcc-win32 compiler
> which is not shown in the list.
>
> Any ideas?
>
> Thanks a lot in advance!
>
> Best Regards!,
> S.

64 bit Matlab R2007b does not have a compiler. Here is what
I got from Matlab Support:

" The answer to your question which you have probably
already worked out is that the MATLAB 64bit edition does
not ship with a built in LCC compiler.

Kind Regards
Clive Amos"

It would have been useful if they told me if or when they
will have a built-in compiler, or if there are alternatives.

Derek O'Connor



Subject: mbuild -setup: no compiler detected

From: Tim Davis

Date: 15 Nov, 2007 00:45:40

Message: 3 of 4

"Derek O'Connor" <derekroconnor@eircom.net> wrote in message
<...
> 64 bit Matlab R2007b does not have a compiler. Here is what
> I got from Matlab Support:
>
> " The answer to your question which you have probably
> already worked out is that the MATLAB 64bit edition does
> not ship with a built in LCC compiler.
>
> Kind Regards
> Clive Amos"
>
> It would have been useful if they told me if or when they
> will have a built-in compiler, or if there are alternatives.
>
> Derek O'Connor

On Windows (when I have to) I try not to use the LCC
compiler; it generates slow code. I use the freely
available Microsoft Visual C/C++ 2005 Express, for 32-bit
Windows. It generates decent code, although not quite as
good as gcc in Linux/Unix. The Professional version (which
comes at a price) is better, I think, since unless I'm
mistaken it includes additional compiler optimizations that
are disabled in the 2005 Express version.

See http://msdn2.microsoft.com/en-us/express/default.aspx

It's quite easy to configure mex to use this compiler.

However ... it appears that the Express edition doesn't
support 64-bit:

http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx

You might try gcc for windows:

http://gnumex.sourceforge.net/

that link doesn't talk about 64bit Windows, but 32bit.
However, gcc and cygwin do run on 64bit Windows.

Subject: mbuild -setup: no compiler detected

From: Alexei Souvorov

Date: 6 Dec, 2007 05:35:26

Message: 4 of 4

"Tim Davis" <davis@cise.ufl.edu> wrote in message
<fhg4rk$ft4$1@fred.mathworks.com>...
> "Derek O'Connor" <derekroconnor@eircom.net> wrote in
message
> <...
> > 64 bit Matlab R2007b does not have a compiler. Here is
what
> > I got from Matlab Support:
> >
> > " The answer to your question which you have probably
> > already worked out is that the MATLAB 64bit edition
does
> > not ship with a built in LCC compiler.
> >
> > Kind Regards
> > Clive Amos"
> >
> > It would have been useful if they told me if or when
they
> > will have a built-in compiler, or if there are
alternatives.
> >
> > Derek O'Connor
>
> On Windows (when I have to) I try not to use the LCC
> compiler; it generates slow code. I use the freely
> available Microsoft Visual C/C++ 2005 Express, for 32-bit
> Windows. It generates decent code, although not quite as
> good as gcc in Linux/Unix. The Professional version
(which
> comes at a price) is better, I think, since unless I'm
> mistaken it includes additional compiler optimizations
that
> are disabled in the 2005 Express version.
>
> See http://msdn2.microsoft.com/en-us/express/default.aspx
>
> It's quite easy to configure mex to use this compiler.
>
> However ... it appears that the Express edition doesn't
> support 64-bit:
>
> http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx
>
> You might try gcc for windows:
>
> http://gnumex.sourceforge.net/
>
> that link doesn't talk about 64bit Windows, but 32bit.
> However, gcc and cygwin do run on 64bit Windows.

I've got the same problem with WinXP x64. In the Matlab
compatible compiler page it is writen that 64-bit version
supports MS Visual Studio 2005 SP1 and Visual Studio
Express edition compilers. I have installed MS VS2005 with
64-bit support but still I get the message that there is no
compiler in the system. In case of Express Edition there
must be some additional windows parameter defined. But I
did not try it yet.

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
gonzalo gonzalo17x 17 Oct, 2009 00:01:06
mbuild Jorge 14 Nov, 2007 10:30:22
compiler Jorge 14 Nov, 2007 10:30:22
mex Jorge 14 Nov, 2007 10:30:22
mex files Jorge 14 Nov, 2007 10:30:22
rssFeed for this Thread
 

MATLAB Central Terms of Use

NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Terms prior to use.

Contact us at files@mathworks.com