[Ipopt] Link problem
Stefan Vigerske
stefan at math.hu-berlin.de
Mon Sep 22 10:38:57 EDT 2014
Hi,
I think the comment in IpIterativePardisoSolverInterface.cpp:69 explains it:
// The following global function pointer is defined in the Pardiso library
Stefan
On 09/22/2014 03:52 PM, ycollette.nospam at free.fr wrote:
> Hello,
>
> I am trying to write a cmakefile to compile ipopt.
> When compiling an example, I meet a link problem: the SetIpoptCallbackFunction is not defined.
>
> void SetIpoptCallbackFunction(int (*IpoptFunction)(int n, double* x, double* r, int k, double b));
> SetIpoptCallbackFunction(&IpoptTerminationTest);
> src/Algorithm/Inexact/IpIterativePardisoSolverInterface.cpp
>
> In this file, the prototype function is present, the function is used, but it is not defined.
>
> Best regards,
>
> YC
> _______________________________________________
> Ipopt mailing list
> Ipopt at list.coin-or.org
> http://list.coin-or.org/mailman/listinfo/ipopt
>
More information about the Ipopt
mailing list