<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239813</link>
    <title>MATLAB Central Newsreader - Question about mex compilation on 64bit machine in Windoze</title>
    <description>Feed for thread: Question about mex compilation on 64bit machine in Windoze</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>Mon, 24 Nov 2008 10:32:19 -0500</pubDate>
      <title>Question about mex compilation on 64bit machine in Windoze</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239813#612824</link>
      <author>Jim Rockford</author>
      <description>I have recently installed Matlab R2008b.  I understand that there is&lt;br&gt;
no default lcc compiler for 64 bit, and that a free compiler can be&lt;br&gt;
used:&lt;br&gt;
&lt;br&gt;
Microsoft Platform SDK for Windows Server 2003 R2&lt;br&gt;
&lt;br&gt;
I have this SDK platform installed, but when I run  &quot;mex -setup&quot;  in&lt;br&gt;
Matlab, I see absolutely zero [0] options for choices of compiler, so&lt;br&gt;
Matlab simply does not recognize the existence of this installation.&lt;br&gt;
&lt;br&gt;
What do I have to do to use the SDK platform to compile with mex?  Why&lt;br&gt;
doesn't Matlab recognize it?  Is it a matter of setting an environment&lt;br&gt;
variable?&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Jim</description>
    </item>
    <item>
      <pubDate>Mon, 24 Nov 2008 10:46:48 -0500</pubDate>
      <title>Re: Question about mex compilation on 64bit machine in Windoze</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239813#612832</link>
      <author>markym</author>
      <description>Jim Rockford wrote:&lt;br&gt;
&amp;gt; I have recently installed Matlab R2008b.  I understand that there is&lt;br&gt;
&amp;gt; no default lcc compiler for 64 bit, and that a free compiler can be&lt;br&gt;
&amp;gt; used:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Microsoft Platform SDK for Windows Server 2003 R2&lt;br&gt;
&lt;br&gt;
That's not a compiler. It's a software development kit containing&lt;br&gt;
mainly lib and include files. You may be interested in looking at&lt;br&gt;
Visual Studio Express Editions or gcc products.</description>
    </item>
    <item>
      <pubDate>Mon, 24 Nov 2008 11:44:04 -0500</pubDate>
      <title>Re: Question about mex compilation on 64bit machine in Windoze</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239813#612841</link>
      <author>Bruno Luong</author>
      <description>markym &amp;lt;no@email.com&amp;gt; wrote in message &amp;lt;gge0mn$q47$1@news.oulu.fi&amp;gt;...&lt;br&gt;
&amp;gt; Jim Rockford wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; That's not a compiler. It's a software development kit containing&lt;br&gt;
&amp;gt; mainly lib and include files. You may be interested in looking at&lt;br&gt;
&amp;gt; Visual Studio Express Editions or gcc products.&lt;br&gt;
&lt;br&gt;
The last time I look, Express Edition doesn't seem to support 64-bits executable builder:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyId=727BCFB0-B575-47AB-9FD8-4EE067BB3A37&amp;displaylang=en&quot;&gt;http://www.microsoft.com/downloads/details.aspx?FamilyId=727BCFB0-B575-47AB-9FD8-4EE067BB3A37&amp;displaylang=en&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
Is there any additional package that should download separately to accomplish it?&lt;br&gt;
&lt;br&gt;
Bruno</description>
    </item>
    <item>
      <pubDate>Mon, 24 Nov 2008 13:32:47 -0500</pubDate>
      <title>Re: Question about mex compilation on 64bit machine in Windoze</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239813#612871</link>
      <author>markym</author>
      <description>Bruno Luong wrote:&lt;br&gt;
&amp;gt; The last time I look, Express Edition doesn't seem to support 64-bits executable builder:&lt;br&gt;
&lt;br&gt;
You're right. But there exists some support for mexing on Win64:&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/support/compilers/current_release/win64.html&quot;&gt;http://www.mathworks.com/support/compilers/current_release/win64.html&lt;/a&gt;&lt;br&gt;
Perhaps it's only 32-bit image; I have no access to such system to&lt;br&gt;
verify it.</description>
    </item>
    <item>
      <pubDate>Mon, 24 Nov 2008 16:15:56 -0500</pubDate>
      <title>Re: Question about mex compilation on 64bit machine in Windoze</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239813#612925</link>
      <author>Jim Rockford</author>
      <description>On Nov 24, 5:46=A0am, markym &amp;lt;n...@email.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; Jim Rockford wrote:&lt;br&gt;
&amp;gt; &amp;gt; I have recently installed Matlab R2008b. =A0I understand that there is&lt;br&gt;
&amp;gt; &amp;gt; no default lcc compiler for 64 bit, and that a free compiler can be&lt;br&gt;
&amp;gt; &amp;gt; used:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Microsoft Platform SDK for Windows Server 2003 R2&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; That's not a compiler. It's a software development kit containing&lt;br&gt;
&amp;gt; mainly lib and include files. You may be interested in looking at&lt;br&gt;
&amp;gt; Visual Studio Express Editions or gcc products.&lt;br&gt;
&lt;br&gt;
I know it's a software development kit, but apparently it's got&lt;br&gt;
sufficient muscle to act as the compiler one would need for mex'ing&lt;br&gt;
64bit applications in Matlab.  I am simply responding to the&lt;br&gt;
information from Mathworks support:&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/support/solutions/data/1-36NJ5U.html?solution=3D1-=&quot;&gt;http://www.mathworks.com/support/solutions/data/1-36NJ5U.html?solution=3D1-=&lt;/a&gt;&lt;br&gt;
36NJ5U&lt;br&gt;
&lt;br&gt;
Note that there is also a link on that page addressing the problem I'm&lt;br&gt;
having with mex -setup, but my manual path setting failed and I'm&lt;br&gt;
curious as to why Matlab doesn't recognize my SDK installation by&lt;br&gt;
default.&lt;br&gt;
&lt;br&gt;
Jim</description>
    </item>
    <item>
      <pubDate>Mon, 24 Nov 2008 16:19:48 -0500</pubDate>
      <title>Re: Question about mex compilation on 64bit machine in Windoze</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239813#612926</link>
      <author>Gadi Reinhorn</author>
      <description>Jim,&lt;br&gt;
&lt;br&gt;
Yes you need to have MSSdk environment variable defined.&lt;br&gt;
&lt;br&gt;
The only reference to this in the documentation seems to be:&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/rn/f34-998197.html#f34-1011313&quot;&gt;http://www.mathworks.com/access/helpdesk/help/techdoc/index.html?/access/helpdesk/help/techdoc/rn/f34-998197.html#f34-1011313&lt;/a&gt;&lt;br&gt;
&quot;The environment variable MSSdk must be defined. The value of this &lt;br&gt;
environment variable is the path to the installation directory for Microsoft &lt;br&gt;
Platform SDK for Windows Server 2003.  This environment variable is not &lt;br&gt;
commonly defined by the Microsoft Platform SDK installation program.&quot;&lt;br&gt;
&lt;br&gt;
Hope that helps.&lt;br&gt;
&lt;br&gt;
Gadi</description>
    </item>
    <item>
      <pubDate>Mon, 24 Nov 2008 16:37:30 -0500</pubDate>
      <title>Re: Question about mex compilation on 64bit machine in Windoze</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/239813#612930</link>
      <author>Gadi Reinhorn</author>
      <description>Jim,&lt;br&gt;
&lt;br&gt;
I think there is some information missing from the solution you mentioned.&lt;br&gt;
I am working with technical support to improve that solution.&lt;br&gt;
&lt;br&gt;
Let us know if defininf MSSdk worked for you.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Gadi </description>
    </item>
  </channel>
</rss>

