Opened 9 months ago

#86 new user support

Missing symbols using qpoases-3.2.1

Reported by: yutaochen Owned by: ferreau
Priority: normal Milestone:
Component: C++ core Version: 3.2.1
Keywords: Cc:

Description

When linking qpoases-3.2.1 in my application, there are some missing symbols. The errors are:

  1. undefined reference to `qpOASES::QProblem::init(double const*, double const*, double const*, double const*, double const*, double const*, double const*, int&, double*, double const*, double const*, qpOASES::Bounds const*, qpOASES::Constraints const*, double const*)'
  1. undefined reference to `qpOASES::SQProblem::hotstart(double const*, double const*, double const*, double const*, double const*, double const*, double const*, int&, double*, qpOASES::Bounds const*, qpOASES::Constraints const*)'
  1. undefined reference to `qpOASES::SQProblem::SQProblem(int, int, qpOASES::HessianType?, qpOASES::BooleanType?)'

My gcc flag is "CPPFLAGS = -Wall -O3 -march=native -mfpmath=sse -fPIC" and I follow the instructions in make_linux.mk to compile my application.

When using qpoases-3.2.0, my application is compiled without errors and it runs without any problems.

Best,

Yutao

Change History (0)

Note: See TracTickets for help on using tickets.