I am trying to use the QuadProg++ library for the first time. I have followed all the instructions for installation. I also have Boost on my system. When I try to compile the main.cc file, which contains an example which solves a sample quadratic optimization problem, I get the following error:
/tmp/ccgZ8Yma.o: In function `main':
main.cc:(.text+0x693): undefined reference to
'QuadProgPP::solve_quadprog(QuadProgPP::Matrix<double>&,
QuadProgPP::Vector<double>&, QuadProgPP::Matrix<double> const&,
QuadProgPP::Vector<double> const&, QuadProgPP::Matrix<double>
const&, QuadProgPP::Vector<double> const&, QuadProgPP::Vector<double>&)'
collect2: ld returned 1 exit status
If someone has already used this library, then I would be really grateful if you could provide me with any insights. I haven't really started working with this library, so if you can suggest a good library which provides quadratic programming solver, compatible with C++, that will be great too.