[Ipopt-tickets] [Ipopt] #227: Compile IPOPT DLL with MSYS/MINGW on Windows

Ipopt coin-trac at coin-or.org
Thu Jan 9 21:05:24 EST 2014


#227: Compile IPOPT DLL with MSYS/MINGW on Windows
----------------------+------------------------
  Reporter:  scanpat  |      Owner:  ipopt-team
      Type:  defect   |     Status:  new
  Priority:  normal   |  Component:  Ipopt
   Version:  3.11     |   Severity:  normal
Resolution:           |   Keywords:
----------------------+------------------------

Comment (by kelman):

 Great, glad that worked.

 You should get files in the lib folder that are .dll.a, I believe these
 are equivalent to .def files.

 Alternately if you configure with `--enable-dependency-linking --enable-
 shared --enable-static LD=ld` then you should get both shared (.dll) and
 static (here .a, but should be equivalent to .lib) libraries.

 You can possibly use f2c to convert Fortran 77 to C and use a Visual
 Studio C compiler, check BuildTools/compile_f2c for instructions on this.
 You will need to use a slightly older version of Blas and Lapack, since
 the most recent versions of those use some Fortran 95 which f2c cannot
 understand.

 However I don't think creating dll's with the Visual Studio compiler will
 currently work, due to the old autotools versions. We're working on
 bringing the autotools versions up to date which should hopefully make
 this possible, but it's going to take some time.

--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/227#comment:11>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.



More information about the Ipopt-tickets mailing list