[Ipopt] help building Matlab interface for Ipopt on Mac

Ray Zimmerman rz10 at cornell.edu
Fri Oct 14 17:12:17 EDT 2011


Oops missed one tiny thing in step 9. For the 32-bit build, you also need to add a '-maci' in the MEXFLAGS in the Makefile for the MatlabInterface.

  -- Ray

On Oct 12, 2011, at 11:19 AM, Ray Zimmerman wrote:

> I was finally able to sort everything out and get it to build. Turns out some of the default options in the mexopts.sh file and Makefile were keeping it from finding the proper libraries.
> 
> I'll summarize what I did in a separate post.
> 
> -- 
> Ray Zimmerman
> Senior Research Associate
> 419A Warren Hall, Cornell University, Ithaca, NY 14853
> phone: (607) 255-9645
> 
> 
> 
> On Oct 5, 2011, at 1:48 PM, Ray Zimmerman wrote:
> 
>> Thanks ... that seemed to eliminate the error about "-framework" not being a valid option, but now I'm getting "ld: library not found for -lgfortranbegin". I'm starting to think maybe there's an issue with my Fortran compiler since I can't even link the simple yprime example MEX file without getting errors related to -lgfortran.
>> 
>> Does anyone here have a working environment for building Fortran MEX files on Mac OS X (Snow Leopard or Lion)? I had a working setup with both g95 and gfortran (both from Fink) on a previous machine, but decided to go with what I thought was the more highly recommended Fortran installers from http://r.research.att.com/tools/. Now I can't the most basic MEX build to work.
>> 
>> Anybody have time to help me sort this out (off-list)?
>> 
>> I promise I'll post detailed instructions on how to build the IPOPT MEX interface on Mac if I ever succeed.
>> 
>> Thanks,
>> 
>> -- 
>> Ray Zimmerman
>> Senior Research Associate
>> 419A Warren Hall, Cornell University, Ithaca, NY 14853
>> phone: (607) 255-9645
> 
> _______________________________________________
> 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/20111014/c9c3bcb7/attachment.html>


More information about the Ipopt mailing list