<div dir="ltr"><div><div><div><div><div>All,<br><br></div>I am trying to compile the MATLAB interface for IPOPT R2015a using Mac OS-X Yosemite and I m having some issues. Please note that I want to compile a dynamically linked mex file (not a static mex file). I am using XCode version 6.4 with gfortran 4.8. Also, I am using the coinhsl code that includes all of the Harwell linear solvers. My configure script is as follows:<br><br>./configure --disable-shared F77=gfortran FFLAGS="-fexceptions -m64
-fbackslash" CFLAGS="-fno-common -no-cpp-precomp -fexceptions -arch
x86_64 -m64" CXXFLAGS="-fno-common -no-cpp-precomp -fexceptions -arch
x86_64 -m64"<br><br></div>I was able to run make --> make install --> make test with no problems and obtained the following output:<br><br>Running unitTests...<br> <br>Testing AMPL Solver Executable...<br> Test passed!<br>Testing C++ Example...<br> Test passed!<br>Testing C Example...<br> Test passed!<br>Testing Fortran Example...<br> Test passed!<br><br></div>I then tried to compile the MATLAB mex file and received the following error:<br><br> mex: -framework not a valid option.<br><br> Usage:<br> MEX [option1 ... optionN] sourcefile1 [... sourcefileN]<br> [objectfile1 ... objectfileN] [libraryfile1 ... libraryfileN]<br><br> Use the -help option for more information, or consult the MATLAB External Interfaces Guide.<br><br></div>I am grateful if somebody could tell me what I am doing wrong. Alternatively, if somebody could tell me the steps they followed to obtain a working mex file, I would be super grateful. <br><br></div>Anil Rao<br><br clear="all"><div><div><div><div><div><div><br>-- <br><div class="gmail_signature"><div dir="ltr">Anil V. Rao, PhD<br>
Associate Professor<br>
Department of Mechanical and Aerospace Engineering<br>
University of Florida<br>
Gainesville, FL 32611-6250<br>Tel: (352) 672-1529<br>E-mail: <a href="mailto:anilvrao@gmail.com" target="_blank">anilvrao@gmail.com</a><br></div></div>
</div></div></div></div></div></div></div>