Problem compiling and running the example #767
Unanswered
daniel-barna
asked this question in
C Interface
Replies: 1 comment
-
|
Hi @daniel-barna, where did you get the binaries and headers from? The |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, I have just installed OSQP from binaries (windows subsystem for linux - ubuntu 24.04), and tried to compile the "Setup and solve" example in C.
The first problem is that osqp.h and osqp_api_constants.h #includes osqp_configure.h, which does not exist. I commented these lines out, compilation then succeeded.
Next problem is at runtime: the example dies with the errors
ERROR in validate_data: P is not upper triangular ERROR in osqp_setup: Problem data validation.
Do you have any suggestions?
Thank you
Daniel
Beta Was this translation helpful? Give feedback.
All reactions