-
Notifications
You must be signed in to change notification settings - Fork 120
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cant instantiate the solver; "OsqpEigen::Solver solver" #93
Comments
Hi @dhruvthanki, thanks for the issue. Just to understand, what does your program print? The Solver object does not print anything and it is supposed to do nothing until you set the problem and call the solve method. |
So if I just compile and run the above code, should it print the following in the terminal or not?
|
I think so! Does it get stuck before? |
Ok, that seems to be crashing then. If that is not the case, can you try to launch the tests of |
Can you try to avoid linking the |
If also the example crashes, I think that Probably it would be better to start with some clean builds. Also, make sure you don't have any other |
This is how I build the wrapper: (I am using windows btw)
This is my CmakeLists.txt file:
I am able to compile and run the "osqp" example problems from their website. I am able to include the OsqpEigen.h in my project. When I just instantiate the solver using the wrapper, I am able to build and run the .exe but no output that I was expecting is generated. Just builds and runs with zero errors and nothing happens.
The text was updated successfully, but these errors were encountered: