Closed RoyiAvital closed 3 years ago
The same issue on Win10 MATLAB R2018b, looking forward to the solution
I can't reproduce the error. Two questions:
1) Does OSQP itself work for you after you install it, i.e. do examples in the documentation like this one work?
2) It seems that the failure is coming from the codegen tests. Do you have an appropriate compiler and cmake installed on your system? If you do, what happens if you run the example at the link above, and then run something like prob.codegen('.')
?
I cannot reproduce the error either. I am using MATLAB R2020b on Windows 10.
I can't reproduce the error. Two questions:
- Does OSQP itself work for you after you install it, i.e. do examples in the documentation like this one work?
- It seems that the failure is coming from the codegen tests. Do you have an appropriate compiler and cmake installed on your system? If you do, what happens if you run the example at the link above, and then run something like
prob.codegen('.')
?
You are right! I forget to configure the cmake, cause this is not needed for osqp's installation but it's necessary for the codegen
operation. Thanks for the reminder! I solved this problem by configuring the CMake and the compiler properly @RoyiAvital .
In that case I will close the issue, and I will open a new one with a feature request for the Matlab codegen to fail more gracefully if cmake is not found.
I installed
OSQP
using the official binaries in bintray and the provided script as instructed in the guide.I saw the
run_osqp_tests.m
file and ran it. The result I got is:Looking at the folder tree:
It seems something is creating the folders one inside the other.
It seems the code generation procedure is failing. Any idea?
Any information I can farther provide to assist fixing it?
Thank You.