[Ipopt-tickets] [Ipopt] #279: Error when installing Matlab interface on Linux
Ipopt
coin-trac at coin-or.org
Wed Jan 25 14:00:15 EST 2017
#279: Error when installing Matlab interface on Linux
--------------------------+------------------------------------
Reporter: aragon.song | Owner: ipopt-team
Type: defect | Status: new
Priority: normal | Component: Ipopt
Version: 3.12 | Severity: normal
Resolution: | Keywords: Matlab Interface Error
--------------------------+------------------------------------
Comment (by aragon.song):
Replying to [comment:3 stefan]:
Hi Stefan, I started all over again from the very beginning and now I am
able to install the Matlab interface without any error. Then I added path
of "~/Desktop/Ipopt-3.12.6/build/lib" in Matlab and was able to run the
example code examplelasso.m; however, Matlab crashed upon running this
example code.
I found that this was a known issue due to not choosing the proper
compiler or setting the proper compilation flags. But I configured as you
suggested, with --disable-shared --with-pic, which should have set the
proper compilation flag...The compiler used in Matlab is the default gcc.
Would you please give me any specific suggestions on resolving this?
Thanks.
> It probably should be
{{{-I/home/gupta/Desktop/Ipopt-3.12.6/BuildTools/headers/}}} in INCL.
>
> But the build should look for configall_system.h at all. Also that you
get a file from {{{Ipopt/src/Common}}} listed seems wrong. The Matlab
Interface build should only use the libs and headers in the
{{{/home/gupta/Desktop/Ipopt-3.12.6/lib}}} and
{{{/home/gupta/Desktop/Ipopt-3.12.6/include}}} directories.
--
Ticket URL: <https://projects.coin-or.org/Ipopt/ticket/279#comment:4>
Ipopt <http://projects.coin-or.org/Ipopt>
Interior-point optimizer for nonlinear programs.
More information about the Ipopt-tickets
mailing list