[Ipopt] Compiling IpOpt for windows with Cygwin
Tony Kelman
kelman at berkeley.edu
Wed Jan 29 07:51:37 EST 2014
Roberto,
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).
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?
-Tony
From: Roberto Verdelli
Sent: Wednesday, January 29, 2014 4:34 AM
To: ipopt at list.coin-or.org
Subject: [Ipopt] Compiling IpOpt for windows with Cygwin
Hi everyone,
I'm trying to compile IpOpt with MA27, I followed the instructions found in 'Installation with Cygwin using GNU compilers', for cygwin installation but as soon as I launch:
./configure -enable-doscompile=msvc
I get the following error:
configure: Trying to determine Fortran compiler name
checking for ifort... no
checking for fl32... no
checking for compile_f2c... no
checking for gfortran... gfortran
checking whether we are using the GNU Fortran 77 compiler... no
checking whether gfortran accepts -g... no
configure: Fortran compiler options are: -O
checking how to get verbose linking output from gfortran... configure: WARNING: compilation failed
checking for Fortran libraries of gfortran...
checking for dummy main to link with Fortran libraries... none
checking for Fortran name-mangling scheme... configure: error: cannot compile a simple Fortran program
See `config.log' for more details.
configure: error: /bin/sh './configure' failed for ThirdParty/Blas
What should I do to get cygwin to be able to compile fortran programs?
--------------------------------------------------------------------------------
_______________________________________________
Ipopt mailing list
Ipopt at list.coin-or.org
http://list.coin-or.org/mailman/listinfo/ipopt
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20140129/8a7bf865/attachment.html>
More information about the Ipopt
mailing list