coin-or / qpOASES

Open-source C++ implementation of the recently proposed online active set strategy
GNU Lesser General Public License v2.1
360 stars 121 forks source link

problem regarding creating an object from QProblem class #138

Open sinatz opened 1 year ago

sinatz commented 1 year ago

Hello,

when the compiler wants to create an object from QProblem class in this line : QProblem example(2,1); which is used in most of the examples, I get this error :

undefined reference to `qpOASES::QProblem::QProblem(int, int, qpOASES::HessianType).

moreover it also shown:

'example' is ambiguous ' Candidates are: QProblem(int, int, enum qpOASES::HessianType) QProblem(int, int, enum qpOASES::HessianType, enum qpOASES::BooleanType)

Could you please inform me what is the problem ?

Thanks in advance.