[Ipopt-tickets] Re: [Ipopt] #52: Need to call extern Fortran function with stdcall

Ipopt coin-trac at coin-or.org
Thu Dec 13 19:31:37 EST 2007


#52: Need to call extern Fortran function with stdcall
--------------------------------+-------------------------------------------
  Reporter:  einglez            |       Owner:  ipopt-team
      Type:  task               |      Status:  new       
  Priority:  normal             |   Component:  Ipopt     
   Version:  3.3 (C++ Version)  |    Severity:  normal    
Resolution:                     |    Keywords:            
--------------------------------+-------------------------------------------
Comment (by einglez):

 Another idea I have in mind is to define Visual Studio to compile ipopt as
 _stdcall. Actually I already tried that, but because of the calling
 convention it does not recognize IPCREATE, IPFREE, IPSOLVE ..... The
 linker understand the functions with underscores _IPCREATE, _IPFREE...
 Naybe F77_FUNC would overcorme that, but I dont know how to change it.

 I am a bit confused on  which direction I should go.

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



More information about the Ipopt-tickets mailing list