<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/159291</link>
    <title>MATLAB Central Newsreader - mbuild -setup: no compiler detected</title>
    <description>Feed for thread: mbuild -setup: no compiler detected</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 14 Nov 2007 15:26:47 -0500</pubDate>
      <title>mbuild -setup: no compiler detected</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/159291#401241</link>
      <author>Jorge </author>
      <description>Dear list members,&lt;br&gt;
&lt;br&gt;
While running the command mbuild -setup allowing it to &lt;br&gt;
locate installed compilers none are detected. &lt;br&gt;
&lt;br&gt;
I am using the 64 bits Matlab R2007b version and I need to &lt;br&gt;
compile some mex files. Does anyone know how to install a &lt;br&gt;
new compiler and how to tell matlab that I want to use it? &lt;br&gt;
&lt;br&gt;
The mcc compiler is installed but matlab does not put it &lt;br&gt;
in the list, I have also installed a lcc-win32 compiler &lt;br&gt;
which is not shown in the list.&lt;br&gt;
&lt;br&gt;
Any ideas?&lt;br&gt;
&lt;br&gt;
Thanks a lot in advance!&lt;br&gt;
&lt;br&gt;
Best Regards!,&lt;br&gt;
S.</description>
    </item>
    <item>
      <pubDate>Wed, 14 Nov 2007 19:37:42 -0500</pubDate>
      <title>Re: mbuild -setup: no compiler detected</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/159291#401304</link>
      <author>Derek O'Connor</author>
      <description>&quot;Jorge &quot; &amp;lt;sergio_l_nospam@hotmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fhf43n$j0k$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Dear list members,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; While running the command mbuild -setup allowing it to &lt;br&gt;
&amp;gt; locate installed compilers none are detected. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I am using the 64 bits Matlab R2007b version and I need to &lt;br&gt;
&amp;gt; compile some mex files. Does anyone know how to install a &lt;br&gt;
&amp;gt; new compiler and how to tell matlab that I want to use it? &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; The mcc compiler is installed but matlab does not put it &lt;br&gt;
&amp;gt; in the list, I have also installed a lcc-win32 compiler &lt;br&gt;
&amp;gt; which is not shown in the list.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Any ideas?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks a lot in advance!&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Best Regards!,&lt;br&gt;
&amp;gt; S.&lt;br&gt;
&lt;br&gt;
64 bit Matlab R2007b does not have a compiler. Here is what&lt;br&gt;
I got from Matlab Support:&lt;br&gt;
&lt;br&gt;
&quot; The answer to your question which you have probably&lt;br&gt;
already worked out is that  the MATLAB 64bit edition does&lt;br&gt;
not ship with  a built in LCC compiler. &lt;br&gt;
&lt;br&gt;
Kind Regards&lt;br&gt;
Clive Amos&quot;&lt;br&gt;
&lt;br&gt;
It would have been useful if they told me if or when they&lt;br&gt;
will have a built-in compiler, or if there are alternatives.&lt;br&gt;
&lt;br&gt;
Derek O'Connor</description>
    </item>
    <item>
      <pubDate>Thu, 15 Nov 2007 00:45:40 -0500</pubDate>
      <title>Re: mbuild -setup: no compiler detected</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/159291#401364</link>
      <author>Tim Davis</author>
      <description>&quot;Derek O'Connor&quot; &amp;lt;derekroconnor@eircom.net&amp;gt; wrote in message&lt;br&gt;
&amp;lt;...&lt;br&gt;
&amp;gt; 64 bit Matlab R2007b does not have a compiler. Here is what&lt;br&gt;
&amp;gt; I got from Matlab Support:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot; The answer to your question which you have probably&lt;br&gt;
&amp;gt; already worked out is that  the MATLAB 64bit edition does&lt;br&gt;
&amp;gt; not ship with  a built in LCC compiler. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Kind Regards&lt;br&gt;
&amp;gt; Clive Amos&quot;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; It would have been useful if they told me if or when they&lt;br&gt;
&amp;gt; will have a built-in compiler, or if there are alternatives.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Derek O'Connor&lt;br&gt;
&lt;br&gt;
On Windows (when I have to) I try not to use the LCC&lt;br&gt;
compiler; it generates slow code.  I use the freely&lt;br&gt;
available Microsoft Visual C/C++ 2005 Express, for 32-bit&lt;br&gt;
Windows.  It generates decent code, although not quite as&lt;br&gt;
good as gcc in Linux/Unix.  The Professional version (which&lt;br&gt;
comes at a price) is better, I think, since unless I'm&lt;br&gt;
mistaken it includes additional compiler optimizations that&lt;br&gt;
are disabled in the 2005 Express version.&lt;br&gt;
&lt;br&gt;
See &lt;a href=&quot;http://msdn2.microsoft.com/en-us/express/default.aspx&quot;&gt;http://msdn2.microsoft.com/en-us/express/default.aspx&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
It's quite easy to configure mex to use this compiler.&lt;br&gt;
&lt;br&gt;
However ... it appears that the Express edition doesn't&lt;br&gt;
support 64-bit:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx&quot;&gt;http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
You might try gcc for windows:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://gnumex.sourceforge.net/&quot;&gt;http://gnumex.sourceforge.net/&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
that link doesn't talk about 64bit Windows, but 32bit. &lt;br&gt;
However, gcc and cygwin do run on 64bit Windows.</description>
    </item>
    <item>
      <pubDate>Thu, 06 Dec 2007 05:35:26 -0500</pubDate>
      <title>Re: mbuild -setup: no compiler detected</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/159291#404833</link>
      <author>Alexei Souvorov</author>
      <description>&quot;Tim Davis&quot; &amp;lt;davis@cise.ufl.edu&amp;gt; wrote in message &lt;br&gt;
&amp;lt;fhg4rk$ft4$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Derek O'Connor&quot; &amp;lt;derekroconnor@eircom.net&amp;gt; wrote in &lt;br&gt;
message&lt;br&gt;
&amp;gt; &amp;lt;...&lt;br&gt;
&amp;gt; &amp;gt; 64 bit Matlab R2007b does not have a compiler. Here is &lt;br&gt;
what&lt;br&gt;
&amp;gt; &amp;gt; I got from Matlab Support:&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &quot; The answer to your question which you have probably&lt;br&gt;
&amp;gt; &amp;gt; already worked out is that  the MATLAB 64bit edition &lt;br&gt;
does&lt;br&gt;
&amp;gt; &amp;gt; not ship with  a built in LCC compiler. &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Kind Regards&lt;br&gt;
&amp;gt; &amp;gt; Clive Amos&quot;&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; It would have been useful if they told me if or when &lt;br&gt;
they&lt;br&gt;
&amp;gt; &amp;gt; will have a built-in compiler, or if there are &lt;br&gt;
alternatives.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Derek O'Connor&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; On Windows (when I have to) I try not to use the LCC&lt;br&gt;
&amp;gt; compiler; it generates slow code.  I use the freely&lt;br&gt;
&amp;gt; available Microsoft Visual C/C++ 2005 Express, for 32-bit&lt;br&gt;
&amp;gt; Windows.  It generates decent code, although not quite as&lt;br&gt;
&amp;gt; good as gcc in Linux/Unix.  The Professional version &lt;br&gt;
(which&lt;br&gt;
&amp;gt; comes at a price) is better, I think, since unless I'm&lt;br&gt;
&amp;gt; mistaken it includes additional compiler optimizations &lt;br&gt;
that&lt;br&gt;
&amp;gt; are disabled in the 2005 Express version.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; See &lt;a href=&quot;http://msdn2.microsoft.com/en-us/express/default.aspx&quot;&gt;http://msdn2.microsoft.com/en-us/express/default.aspx&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; It's quite easy to configure mex to use this compiler.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; However ... it appears that the Express edition doesn't&lt;br&gt;
&amp;gt; support 64-bit:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;a href=&quot;http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx&quot;&gt;http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; You might try gcc for windows:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;a href=&quot;http://gnumex.sourceforge.net/&quot;&gt;http://gnumex.sourceforge.net/&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; that link doesn't talk about 64bit Windows, but 32bit. &lt;br&gt;
&amp;gt; However, gcc and cygwin do run on 64bit Windows.&lt;br&gt;
&lt;br&gt;
I've got the same problem with WinXP x64. In the Matlab &lt;br&gt;
compatible compiler page it is writen that 64-bit version &lt;br&gt;
supports MS Visual Studio 2005 SP1 and Visual Studio &lt;br&gt;
Express edition compilers. I have installed MS VS2005 with &lt;br&gt;
64-bit support but still I get the message that there is no &lt;br&gt;
compiler in the system. In case of Express Edition there &lt;br&gt;
must be some additional windows parameter defined. But I &lt;br&gt;
did not try it yet.</description>
    </item>
    <item>
      <pubDate>Tue, 11 Jan 2011 11:20:05 -0500</pubDate>
      <title>Re: mbuild -setup: no compiler detected</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/159291#811378</link>
      <author>Tung Fai </author>
      <description>Dear all,&lt;br&gt;
&lt;br&gt;
I ran into the same problem yesterday when I was trying to use the embedded Matlab function in Simulink.&lt;br&gt;
&lt;br&gt;
Under mex -setup, there was no compiler available.&lt;br&gt;
&lt;br&gt;
System is Windows 7 x64 (64bit) with Matlab 2009b.&lt;br&gt;
&lt;br&gt;
After digging around I found this site:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/index.html?solution=1-6IJJ3L&quot;&gt;http://www.mathworks.com/support/solutions/en/data/1-6IJJ3L/index.html?solution=1-6IJJ3L&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
This details how to add a 64bit compiler to your machine.&lt;br&gt;
&lt;br&gt;
Another thing you need to make sure you do is put the files you want to compile somewhere away from Program File. So e.g. D:\Matlab, because it will not compile files with a space in the file name or folder names.</description>
    </item>
    <item>
      <pubDate>Thu, 16 Jun 2011 12:30:08 -0400</pubDate>
      <title>Re: mbuild -setup: no compiler detected</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/159291#841382</link>
      <author>Hisham Mohammed</author>
      <description>&quot;Tim Davis&quot; &amp;lt;davis@cise.ufl.edu&amp;gt; wrote in message &amp;lt;fhg4rk$ft4$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &quot;Derek O'Connor&quot; &amp;lt;derekroconnor@eircom.net&amp;gt; wrote in message&lt;br&gt;
&amp;gt; &amp;lt;...&lt;br&gt;
&amp;gt; &amp;gt; 64 bit Matlab R2007b does not have a compiler. Here is what&lt;br&gt;
&amp;gt; &amp;gt; I got from Matlab Support:&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; &quot; The answer to your question which you have probably&lt;br&gt;
&amp;gt; &amp;gt; already worked out is that  the MATLAB 64bit edition does&lt;br&gt;
&amp;gt; &amp;gt; not ship with  a built in LCC compiler. &lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Kind Regards&lt;br&gt;
&amp;gt; &amp;gt; Clive Amos&quot;&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; It would have been useful if they told me if or when they&lt;br&gt;
&amp;gt; &amp;gt; will have a built-in compiler, or if there are alternatives.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Derek O'Connor&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; On Windows (when I have to) I try not to use the LCC&lt;br&gt;
&amp;gt; compiler; it generates slow code.  I use the freely&lt;br&gt;
&amp;gt; available Microsoft Visual C/C++ 2005 Express, for 32-bit&lt;br&gt;
&amp;gt; Windows.  It generates decent code, although not quite as&lt;br&gt;
&amp;gt; good as gcc in Linux/Unix.  The Professional version (which&lt;br&gt;
&amp;gt; comes at a price) is better, I think, since unless I'm&lt;br&gt;
&amp;gt; mistaken it includes additional compiler optimizations that&lt;br&gt;
&amp;gt; are disabled in the 2005 Express version.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; See &lt;a href=&quot;http://msdn2.microsoft.com/en-us/express/default.aspx&quot;&gt;http://msdn2.microsoft.com/en-us/express/default.aspx&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; It's quite easy to configure mex to use this compiler.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; However ... it appears that the Express edition doesn't&lt;br&gt;
&amp;gt; support 64-bit:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;a href=&quot;http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx&quot;&gt;http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; You might try gcc for windows:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &lt;a href=&quot;http://gnumex.sourceforge.net/&quot;&gt;http://gnumex.sourceforge.net/&lt;/a&gt;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; that link doesn't talk about 64bit Windows, but 32bit. &lt;br&gt;
&amp;gt; However, gcc and cygwin do run on 64bit Windows.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Thank u very much,&lt;br&gt;
for Windows after installing MS Visual Stdio and carrying out the information in the site  &lt;a href=&quot;http://gnumex.sourceforge.net/&quot;&gt;http://gnumex.sourceforge.net/&lt;/a&gt;    then typing in workspase command &lt;br&gt;
&amp;gt;&amp;gt;mbuild -setup&lt;br&gt;
matlab will be able to convert my m.file to exe.file&lt;br&gt;
finally,Thanks list members</description>
    </item>
  </channel>
</rss>

