<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=SV link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span lang=EN-US>Dear all,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I’m trying to compile Ipopt with Microsoft Visual Studio and to do that I’m following the steps in README.txt found in BASDIR\Ipopt\MSVisualStudio\v8. The problem is that I’m getting errors from f2c.exe when compiling third party code in Blas and Lapack with the convert bat-files. <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>I’m using Ipopt-3.10.1 and f2c.exe from the link in the README file: <a href="http://www.netlib.org/f2c/mswin/">http://www.netlib.org/f2c/mswin/</a> (this was version 20100827). <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>The error when compiling Blas is:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>..\..\..\..\ThirdParty\Blas\xerbla.f:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> xerbla:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 35 of ..\..\..\..\ThirdParty\Blas\xerbla.f: Declaration error for len_trim: unknown intrinsic function<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>The errors when compiling Lapack are:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US> dlarft:<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 149 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: syntax error<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 150 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: misplaced ENDDO<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 160 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: nested loops with variable lastv<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 161 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: syntax error<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 162 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: misplaced ENDDO<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 183 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: Execution error endif out of place<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Warning on line 184 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: there is a branch to label 20 from outside block<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 185 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: Execution error else out of place<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 187 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: nested loops with variable i<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 204 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: nested loops with variable lastv<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 205 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: syntax error<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 206 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: misplaced ENDDO<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 220 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: nested loops with variable lastv<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 221 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: syntax error<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 222 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: misplaced ENDDO<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 243 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: Execution error endif out of place<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 245 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: Execution error endif out of place<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Warning on line 246 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: there is a branch to label 40 from outside block<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 247 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: Execution error endif out of place<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Error on line 252 of ..\..\..\..\ThirdParty\Lapack\LAPACK\SRC\dlarft.f: DO loop or BLOCK IF not closed<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Is this something that you recognize? <o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US>Thanks and best regards,<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US>Tove<o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><b><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Tove Bergdahl, MSc<o:p></o:p></span></b></p><p class=MsoNormal><span lang=EN-US style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>Software developer & Technical support<br><br>Phone direct: +46 46 286 2209<br>Email: <a href="mailto:erik.aberg@modelon.com"><span style='color:black'>tove.bergdahl@modelon.com</span></a><o:p></o:p></span></p><p class=MsoNormal><span lang=EN-US style='font-size:12.0pt;font-family:"Times New Roman","serif";color:#1F497D'><br></span><img border=0 width=128 height=37 id="Picture_x0020_1" src="cid:image001.png@01CCD051.702A23C0" alt="Modelon_2011_Gradient_RGB_400"><span lang=EN-US style='font-size:9.0pt;font-family:"Times New Roman","serif";color:#548DD4'><o:p></o:p></span></p><div><div><div><div><div class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Times New Roman","serif"'><hr size=2 width="91%" noshade style='color:gray' align=left></span></div></div></div></div></div><table class=MsoNormalTable border=0 cellspacing=1 cellpadding=0 width="98%" style='width:98.44%'><tr><td valign=bottom style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#7F7F7F'>Modelon AB<br>Ideon Science Park<br>SE-223 70 Lund, Sweden </span><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#7F7F7F'><o:p></o:p></span></p></td><td valign=bottom style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#7F7F7F'>Phone: +46 46 286 2200<br>Fax: +46 46 286 2201</span><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#7F7F7F'><o:p></o:p></span></p></td><td valign=bottom style='padding:.75pt .75pt .75pt .75pt'><p class=MsoNormal><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#7F7F7F'><br>Web: </span><span style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#7F7F7F'><a href="http://www.modelon.com/"><span lang=EN-US style='color:#7F7F7F'>http://www.modelon.com</span></a></span><span lang=EN-US style='font-size:9.0pt;font-family:"Arial","sans-serif";color:#7F7F7F'><o:p></o:p></span></p></td></tr></table><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p><p class=MsoNormal><span lang=EN-US><o:p> </o:p></span></p></div></body></html>