[Ipopt-tickets] [Ipopt] #278: 'make test' LNK errors

Ipopt coin-trac at coin-or.org
Fri Dec 9 05:19:35 EST 2016


#278: 'make test' LNK errors
---------------------------------+------------------------
Reporter:  LKeersmaekers         |      Owner:  ipopt-team
    Type:  defect                |     Status:  new
Priority:  normal                |  Component:  Ipopt
 Version:  3.12                  |   Severity:  normal
Keywords:  make test link error  |
---------------------------------+------------------------
 Dear Mr./Mrs.,

 I encountered some difficulties when installing the program on my Windows
 10 machine with Microsoft Visual Studio 2015.

 The steps I followed are described in the Ipopt documentation
 (​http://web.mit.edu/ipopt_v3.11.6/doc/documentation.pdf), section 2.5.2,
 'installation with Cygwin using the MSVC++ comipler'. At the moment, I'm
 planning to use the free Blas, Lapack and HSL versions, as described in
 the same document.
 The problems I'm facing are related to the error I encountered in ticket
 #277.

 When I run ./configure --enable-doscompile=msvc, I receive the message:
 Main Ipopt configuration succesful.

 Also 'make' succeeds, but this was not without troubles. I needed to
 replace the following files:
 - dlamch.f
 - dlarft.f
 - slamch.f
 - xerbla.f

 During the compilation, there was also an error in LibraryHandler.c
 (#error:  "Do not have function for save printing into a C-string
 (snprintf or _snprintf)").
 Since snprint is defined (stdio.h is included), I modified the file such
 that the error is ignored...

 After replacing the files and modifying the LibraryHandler.c, make
 succeeeds.

 In the 'make test' phase, new (LINK) error occur. Is it possible to guide
 me in order to overcome these errors?

 I've attached the new LibraryHandler file and my config.log files.

 Kind regards,
 Laurent Keersmaekers

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



More information about the Ipopt-tickets mailing list