[Ipopt] Link problem

ycollette.nospam at free.fr ycollette.nospam at free.fr
Mon Sep 22 09:52:05 EDT 2014


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


More information about the Ipopt mailing list