tier4 / osqp_vendor

Vendor package for OSQP
Apache License 2.0
5 stars 5 forks source link

target is ill-formed #17

Open VRichardJP opened 1 year ago

VRichardJP commented 1 year ago

In this package, osqp_vendor_TARGETS is set to osqp, which I think is never properly defined

Example:

Normally it should compile with no problem, but on my machine I get a link error because -losqp is not found. When looking at the compilation command, I see the link args are incorrect: ... -Wl,-rpath,/opt/ros/humble/lib: -losqp .... I think "rpath" is not correct and I should normally have something like -L/opt/ros/humble/lib -losqp. When it is the case, the library compiles with no problem