[Ipopt] invalid Mex-file when call by Matlab

Yakui Huang huangyakui2006 at gmail.com
Thu Apr 9 12:16:54 EDT 2020


Hi,

When calling ipopt by Matlab for a test example, I got errors as

invalid Mex-file
'/home/hyk/CoinIpopt/build/Ipopt/contrib/MatlabInterface/src/ipopt.mexa64':
undefined symbol
'_ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE5rfindEPKcmm'

I installed ipopt with the following configuration
cp ../Ipopt/contrib/MatlabInterface/MatlabInterface.site share/config.site
../configure CC=gcc CXX=g++ --disable-matlab-static

Can anyone help me?

Thank you in advance

Yakui Huang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://list.coin-or.org/pipermail/ipopt/attachments/20200410/09dedfcd/attachment.html>


More information about the Ipopt mailing list