<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163504</link>
    <title>MATLAB Central Newsreader - Fortran MEX - Visul Studio Linker</title>
    <description>Feed for thread: Fortran MEX - Visul Studio Linker</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>Sun, 10 Feb 2008 18:50:32 -0500</pubDate>
      <title>Fortran MEX - Visul Studio Linker</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163504#414128</link>
      <author>Charan </author>
      <description>Hi&lt;br&gt;
&lt;br&gt;
I  wanted to MEX function to compile a fortran code. I&lt;br&gt;
bought Intel Fortran 9.1 (since the matlab site say that is&lt;br&gt;
compatible to Matlab2007b).&lt;br&gt;
&lt;br&gt;
When I load the compiler, I am getting this error. Please&lt;br&gt;
help. It is very urgent.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Charan&lt;br&gt;
&lt;br&gt;
----error-----------&lt;br&gt;
Your machine has a Intel Visual Fortran compiler located at &lt;br&gt;
C:\Program Files\Intel\Compiler\Fortran\9.1. Do you want to&lt;br&gt;
use this compiler [y]/n? y&lt;br&gt;
&amp;nbsp;&lt;br&gt;
Please verify your choices: &lt;br&gt;
&amp;nbsp;&lt;br&gt;
Compiler: Intel Visual Fortran 9.1 &lt;br&gt;
Location: C:\Program Files\Intel\Compiler\Fortran\9.1 &lt;br&gt;
&amp;nbsp;&lt;br&gt;
Are these correct?([y]/n): y&lt;br&gt;
&amp;nbsp;&lt;br&gt;
Error: Microsoft Visual Studio 2005 was not found by mex&lt;br&gt;
-setup. &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;The Microsoft Visual Studio 2005 linker is required &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;to build Intel Fortran MEX-files.  Please make sure that &lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Microsoft Visual Studio 2005 is installed properly. &lt;br&gt;
&amp;nbsp;&lt;br&gt;
??? Error using ==&amp;gt; mex at 208&lt;br&gt;
Unable to complete successfully.&lt;br&gt;
-------------------------------------------</description>
    </item>
    <item>
      <pubDate>Sun, 10 Feb 2008 18:52:29 -0500</pubDate>
      <title>Re: Fortran MEX - Visul Studio Linker</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163504#414129</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;fonh1o$lqu$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
Charan  &amp;lt;boyacharan@gmail.com&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;I  wanted to MEX function to compile a fortran code. I&lt;br&gt;
&amp;gt;bought Intel Fortran 9.1 (since the matlab site say that is&lt;br&gt;
&amp;gt;compatible to Matlab2007b).&lt;br&gt;
&lt;br&gt;
&amp;gt;When I load the compiler, I am getting this error. Please&lt;br&gt;
&amp;gt;help. It is very urgent.&lt;br&gt;
&lt;br&gt;
&amp;gt;Error: Microsoft Visual Studio 2005 was not found by mex&lt;br&gt;
&amp;gt;-setup. &lt;br&gt;
&amp;gt;       The Microsoft Visual Studio 2005 linker is required &lt;br&gt;
&amp;gt;       to build Intel Fortran MEX-files.  Please make sure that &lt;br&gt;
&amp;gt;       Microsoft Visual Studio 2005 is installed properly. &lt;br&gt;
&lt;br&gt;
Are you saying that you *do* have Microsoft Visual Studio 2005&lt;br&gt;
installed, but that Matlab is not able to find it?&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;&quot;To the modern spirt nothing is, or can be rightly known,&lt;br&gt;
&amp;nbsp;&amp;nbsp;except relatively and under conditions.&quot;    -- Walter Pater</description>
    </item>
    <item>
      <pubDate>Sun, 10 Feb 2008 19:06:02 -0500</pubDate>
      <title>Re: Fortran MEX - Visul Studio Linker</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163504#414131</link>
      <author>Charan </author>
      <description>&lt;br&gt;
No. So Do I have to buy Visual Studio 2005 for just running&lt;br&gt;
MEX Functions?&lt;br&gt;
&lt;br&gt;
I see only &quot;Common&quot; folder under Visual Studio so I guess I&lt;br&gt;
dont have Visual Studio on My comp. Is there any alternative&lt;br&gt;
from not buying this?&lt;br&gt;
&lt;br&gt;
THanks,&lt;br&gt;
Charan&lt;br&gt;
&lt;br&gt;
roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson) wrote in&lt;br&gt;
message &amp;lt;fonh5d$seq$1@canopus.cc.umanitoba.ca&amp;gt;...&lt;br&gt;
&amp;gt; In article &amp;lt;fonh1o$lqu$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
&amp;gt; Charan  &amp;lt;boyacharan@gmail.com&amp;gt; wrote:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;I  wanted to MEX function to compile a fortran code. I&lt;br&gt;
&amp;gt; &amp;gt;bought Intel Fortran 9.1 (since the matlab site say that is&lt;br&gt;
&amp;gt; &amp;gt;compatible to Matlab2007b).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;When I load the compiler, I am getting this error. Please&lt;br&gt;
&amp;gt; &amp;gt;help. It is very urgent.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &amp;gt;Error: Microsoft Visual Studio 2005 was not found by mex&lt;br&gt;
&amp;gt; &amp;gt;-setup. &lt;br&gt;
&amp;gt; &amp;gt;       The Microsoft Visual Studio 2005 linker is required &lt;br&gt;
&amp;gt; &amp;gt;       to build Intel Fortran MEX-files.  Please make&lt;br&gt;
sure that &lt;br&gt;
&amp;gt; &amp;gt;       Microsoft Visual Studio 2005 is installed properly. &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Are you saying that you *do* have Microsoft Visual Studio 2005&lt;br&gt;
&amp;gt; installed, but that Matlab is not able to find it?&lt;br&gt;
&amp;gt; -- &lt;br&gt;
&amp;gt;   &quot;To the modern spirt nothing is, or can be rightly known,&lt;br&gt;
&amp;gt;   except relatively and under conditions.&quot;    -- Walter Pater</description>
    </item>
    <item>
      <pubDate>Sun, 10 Feb 2008 19:47:28 -0500</pubDate>
      <title>Re: Fortran MEX - Visul Studio Linker</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163504#414134</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;fonhuq$1hg$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
Charan  &amp;lt;boyacharan@gmail.com&amp;gt; wrote:&lt;br&gt;
&lt;br&gt;
&amp;gt;No. So Do I have to buy Visual Studio 2005 for just running&lt;br&gt;
&amp;gt;MEX Functions?&lt;br&gt;
&lt;br&gt;
&lt;a href=&quot;http://www.mathworks.com/support/tech-notes/1600/1601.html?BB=1#n7&quot;&gt;http://www.mathworks.com/support/tech-notes/1600/1601.html?BB=1#n7&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
&amp;nbsp;&amp;nbsp;7. Intel compilers depend on tools provided by Microsoft&lt;br&gt;
&amp;nbsp;&amp;nbsp;development products.  The following combinations are supported by&lt;br&gt;
&amp;nbsp;&amp;nbsp;MATLAB and Simulink related products:&lt;br&gt;
&lt;br&gt;
(Table showing Intel Visual Fortran 9.1 requires Microsoft Visual&lt;br&gt;
Studio 2005 SP1 Professional Edition, and VF 9.0 requires that&lt;br&gt;
or MS Visual Studio .NET 2003 Professional Edition or &lt;br&gt;
Microsoft Platform SDK for Windows Server 2003)&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I do not know if you need VS 2005 for -running- MEX functions,&lt;br&gt;
but if you want to use the Intel Visual Fortran then according&lt;br&gt;
to the error message you got, you need VS to -link- your MEX&lt;br&gt;
functions. Linking is one of the essential steps of compiling.&lt;br&gt;
Whether you need the VS product installed in order to run&lt;br&gt;
the functions after linking is something I cannot predict;&lt;br&gt;
it could go either way.&lt;br&gt;
-- &lt;br&gt;
'Roberson' is my family name; my given name is 'Walter'.</description>
    </item>
    <item>
      <pubDate>Mon, 11 Feb 2008 16:41:41 -0500</pubDate>
      <title>Re: Fortran MEX - Visul Studio Linker</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163504#414262</link>
      <author>Gadi Reinhorn</author>
      <description>Charan,&lt;br&gt;
&lt;br&gt;
Intel Visual Fortran Requires that you have some Microsoft development &lt;br&gt;
product.&lt;br&gt;
That is listed in the system requirements Intel Visual Fortran:&lt;br&gt;
ftp://download.intel.com/support/performancetools/fortran/windows/v9/INSTALL.pdf&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
Software Requirements to Develop IA-32 Applications&lt;br&gt;
. One of the following Microsoft development products must be installed:&lt;br&gt;
- Microsoft Visual C++* .NET* 2002 or 2003, Standard edition or above&lt;br&gt;
- Microsoft Visual Studio* .NET* 2002 or 2003, any edition, with Visual C++ &lt;br&gt;
component installed&lt;br&gt;
- Microsoft Visual Studio 2005, Standard edition or above, with Visual C++ &lt;br&gt;
component installed (Note: Microsoft Visual Studio 2005 Express Edition is &lt;br&gt;
supported for command line development only. Express Edition users are &lt;br&gt;
advised to also install the Microsoft Platform SDK if Win32 APIs will be &lt;br&gt;
used.)&lt;br&gt;
&lt;br&gt;
etc.&lt;br&gt;
&lt;br&gt;
A free option is to get the Microsoft Visual Studio 2005 Express Edition.&lt;br&gt;
&lt;br&gt;
Good luck.&lt;br&gt;
&lt;br&gt;
Gadi&lt;br&gt;
&lt;br&gt;
&quot;Charan &quot; &amp;lt;boyacharan@gmail.com&amp;gt; wrote in message &lt;br&gt;
news:fonhuq$1hg$1@fred.mathworks.com...&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; No. So Do I have to buy Visual Studio 2005 for just running&lt;br&gt;
&amp;gt; MEX Functions?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I see only &quot;Common&quot; folder under Visual Studio so I guess I&lt;br&gt;
&amp;gt; dont have Visual Studio on My comp. Is there any alternative&lt;br&gt;
&amp;gt; from not buying this?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; THanks,&lt;br&gt;
&amp;gt; Charan</description>
    </item>
    <item>
      <pubDate>Wed, 13 Feb 2008 16:31:02 -0500</pubDate>
      <title>Re: Fortran MEX - Visul Studio Linker</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163504#414825</link>
      <author>Austin </author>
      <description>&quot;Charan &quot; &amp;lt;boyacharan@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fonh1o$lqu$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I  wanted to MEX function to compile a fortran code. I&lt;br&gt;
&amp;gt; bought Intel Fortran 9.1 (since the matlab site say that is&lt;br&gt;
&amp;gt; compatible to Matlab2007b).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; When I load the compiler, I am getting this error. Please&lt;br&gt;
&amp;gt; help. It is very urgent.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Charan&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ----error-----------&lt;br&gt;
&amp;gt; Your machine has a Intel Visual Fortran compiler located at &lt;br&gt;
&amp;gt; C:\Program Files\Intel\Compiler\Fortran\9.1. Do you want to&lt;br&gt;
&amp;gt; use this compiler [y]/n? y&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Please verify your choices: &lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Compiler: Intel Visual Fortran 9.1 &lt;br&gt;
&amp;gt; Location: C:\Program Files\Intel\Compiler\Fortran\9.1 &lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Are these correct?([y]/n): y&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Error: Microsoft Visual Studio 2005 was not found by mex&lt;br&gt;
&amp;gt; -setup. &lt;br&gt;
&amp;gt;        The Microsoft Visual Studio 2005 linker is required &lt;br&gt;
&amp;gt;        to build Intel Fortran MEX-files.  Please make sure&lt;br&gt;
that &lt;br&gt;
&amp;gt;        Microsoft Visual Studio 2005 is installed properly. &lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; ??? Error using ==&amp;gt; mex at 208&lt;br&gt;
&amp;gt; Unable to complete successfully.&lt;br&gt;
&amp;gt; -------------------------------------------&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I would highly recommend taking a look at &quot;howto: mex + MS&lt;br&gt;
Visual C/C++ Express Edition 2005&quot; by William Fox at&lt;br&gt;
&amp;nbsp;&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13321&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13321&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
It is extremely detailed on what things you need in order to&lt;br&gt;
build MEX functions using the free Visual Studio C/C++&lt;br&gt;
Express software.  More specifically, I suspect that the&lt;br&gt;
information Mr. Fox provides in regards to obtaining&lt;br&gt;
&quot;missing components&quot; from the Windows Platform SDK needed by&lt;br&gt;
Matlab to work with the VS Express compiler(s) is directly&lt;br&gt;
applicable(related) to the problem you are experiencing.&lt;br&gt;
&lt;br&gt;
Be sure and leave a final post to let everyone know what/how&lt;br&gt;
you end up fixing your problem.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
NOTE: I found the information on which Windows Platform SDK&lt;br&gt;
to use a little confusing because the official Microsoft&lt;br&gt;
name for the &quot;Windows Platform SDK&quot; is &quot;Windows Server 2003&lt;br&gt;
R2 Platform SDK.&quot;  You do NOT want &quot;Windows Server 2003 SP1&lt;br&gt;
Platform SDK.&quot;   R2 good; SP1 bad(still works just minus a&lt;br&gt;
few bug fixes).</description>
    </item>
    <item>
      <pubDate>Wed, 13 Feb 2008 16:33:07 -0500</pubDate>
      <title>Re: Fortran MEX - Visul Studio Linker</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/163504#414826</link>
      <author>Austin </author>
      <description>&quot;Charan &quot; &amp;lt;boyacharan@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;fonh1o$lqu$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I  wanted to MEX function to compile a fortran code. I&lt;br&gt;
&amp;gt; bought Intel Fortran 9.1 (since the matlab site say that is&lt;br&gt;
&amp;gt; compatible to Matlab2007b).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; When I load the compiler, I am getting this error. Please&lt;br&gt;
&amp;gt; help. It is very urgent.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Charan&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; ----error-----------&lt;br&gt;
&amp;gt; Your machine has a Intel Visual Fortran compiler located at &lt;br&gt;
&amp;gt; C:\Program Files\Intel\Compiler\Fortran\9.1. Do you want to&lt;br&gt;
&amp;gt; use this compiler [y]/n? y&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Please verify your choices: &lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Compiler: Intel Visual Fortran 9.1 &lt;br&gt;
&amp;gt; Location: C:\Program Files\Intel\Compiler\Fortran\9.1 &lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Are these correct?([y]/n): y&lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; Error: Microsoft Visual Studio 2005 was not found by mex&lt;br&gt;
&amp;gt; -setup. &lt;br&gt;
&amp;gt;        The Microsoft Visual Studio 2005 linker is required &lt;br&gt;
&amp;gt;        to build Intel Fortran MEX-files.  Please make sure&lt;br&gt;
that &lt;br&gt;
&amp;gt;        Microsoft Visual Studio 2005 is installed properly. &lt;br&gt;
&amp;gt;  &lt;br&gt;
&amp;gt; ??? Error using ==&amp;gt; mex at 208&lt;br&gt;
&amp;gt; Unable to complete successfully.&lt;br&gt;
&amp;gt; -------------------------------------------&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
I would highly recommend taking a look at &quot;howto: mex + MS&lt;br&gt;
Visual C/C++ Express Edition 2005&quot; by William Fox at&lt;br&gt;
&amp;nbsp;&lt;a href=&quot;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13321&quot;&gt;http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=13321&lt;/a&gt;&lt;br&gt;
&lt;br&gt;
It is extremely detailed on what things you need in order to&lt;br&gt;
build MEX functions using the free Visual Studio C/C++&lt;br&gt;
Express software.  More specifically, I suspect that the&lt;br&gt;
information Mr. Fox provides in regards to obtaining&lt;br&gt;
&quot;missing components&quot; from the Windows Platform SDK needed by&lt;br&gt;
Matlab to work with the VS Express compiler(s) is directly&lt;br&gt;
applicable(related) to the problem you are experiencing.&lt;br&gt;
&lt;br&gt;
Be sure and leave a final post to let everyone know what/how&lt;br&gt;
you end up fixing your problem.&lt;br&gt;
&lt;br&gt;
&lt;br&gt;
NOTE: I found the information on which Windows Platform SDK&lt;br&gt;
to use a little confusing because the official Microsoft&lt;br&gt;
name for the &quot;Windows Platform SDK&quot; is &quot;Windows Server 2003&lt;br&gt;
R2 Platform SDK.&quot;  You do NOT want &quot;Windows Server 2003 SP1&lt;br&gt;
Platform SDK.&quot;   R2 good; SP1 bad(still works just minus a&lt;br&gt;
few bug fixes).</description>
    </item>
  </channel>
</rss>

