<HTML><HEAD>
<STYLE><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></STYLE>
</HEAD>
<BODY class=hmmessage dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-SIZE: 12pt; FONT-FAMILY: 'Calibri'; COLOR: #000000">
<DIV>Roberto,</DIV>
<DIV> </DIV>
<DIV>Are you trying to use Microsoft Visual Studio compilers? If not, you should
leave off the --enable-doscompile=msvc option. It will be rather difficult to
mix gfortran with MSVC, if you need to use MSVC for C/C++ then it’s recommended
to use either the Intel Fortran compiler, or the compile_f2c Fortran 77-to-C
converter (with MSVC compiling the converted C code).</DIV>
<DIV> </DIV>
<DIV>Are you able to compile a simple “Hello World” type Fortran program using
gfortran in your Cygwin installation? If so, can you post the file
ThirdParty/Blas/config.log from your build directory to somewhere like
gist.github.com so we can find the detailed error output?</DIV>
<DIV> </DIV>
<DIV>-Tony</DIV>
<DIV> </DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=rverdelli@hotmail.com
href="mailto:rverdelli@hotmail.com">Roberto Verdelli</A> </DIV>
<DIV><B>Sent:</B> Wednesday, January 29, 2014 4:34 AM</DIV>
<DIV><B>To:</B> <A title=ipopt@list.coin-or.org
href="mailto:ipopt@list.coin-or.org">ipopt@list.coin-or.org</A> </DIV>
<DIV><B>Subject:</B> [Ipopt] Compiling IpOpt for windows with
Cygwin</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style='FONT-SIZE: small; TEXT-DECORATION: none; FONT-FAMILY: "Calibri"; FONT-WEIGHT: normal; COLOR: #000000; FONT-STYLE: normal; DISPLAY: inline'>
<DIV dir=ltr><SPAN
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)">Hi
everyone, </SPAN>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)"> </DIV>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)">I'm
trying to compile IpOpt with MA27, I followed the instructions found in<FONT
face="arial, helvetica, sans-serif"> 'Installation with Cygwin using GNU
compilers', for cygwin installation but as soon as I launch:</FONT></DIV>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)"><FONT
face="arial, helvetica, sans-serif"><BR></FONT></DIV>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)"><FONT
face="arial, helvetica, sans-serif">./configure
-enable-doscompile=msvc</FONT></DIV>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)"><FONT
face="arial, helvetica, sans-serif"><BR></FONT></DIV>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)"><FONT
face="arial, helvetica, sans-serif">I get the following error:</FONT></DIV>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)"><FONT
face="arial, helvetica, sans-serif"><BR></FONT></DIV>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)">
<DIV>configure: Trying to determine Fortran compiler name</DIV>
<DIV>checking for ifort... no</DIV>
<DIV>checking for fl32... no</DIV>
<DIV>checking for compile_f2c... no</DIV>
<DIV>checking for gfortran... gfortran</DIV>
<DIV>checking whether we are using the GNU Fortran 77 compiler... no</DIV>
<DIV>checking whether gfortran accepts -g... no</DIV>
<DIV>configure: Fortran compiler options are: -O</DIV>
<DIV>checking how to get verbose linking output from gfortran... configure:
WARNING: compilation failed</DIV>
<DIV> </DIV>
<DIV>checking for Fortran libraries of gfortran...</DIV>
<DIV>checking for dummy main to link with Fortran libraries... none</DIV>
<DIV>checking for Fortran name-mangling scheme... configure: error: cannot
compile a simple Fortran program</DIV>
<DIV>See `config.log' for more details.</DIV>
<DIV>configure: error: /bin/sh './configure' failed for
ThirdParty/Blas</DIV></DIV>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)"> </DIV>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)"> </DIV>
<DIV
style="FONT-SIZE: 13px; FONT-FAMILY: arial, sans-serif; COLOR: rgb(34,34,34)">What
should I do to get cygwin to be able to compile fortran programs?</DIV></DIV>
<P>
<HR>
_______________________________________________<BR>Ipopt mailing
list<BR>Ipopt@list.coin-or.org<BR>http://list.coin-or.org/mailman/listinfo/ipopt<BR></DIV></DIV></DIV></BODY></HTML>