codegen error
yonchien opened this issue · comments
I have just run your code on my machine and it seems to work fine.
Please provide more details on your OS, Python version, OSQP version, how you installed OSQP etc.
I use linux16.04 ,python 3.5 osqp 0.6.0 I install osqp from the source code
When you say "I install osqp from the source code", what did you do specifically? Did you clone via github, and did you remember to clone submodules?
I met same issue, cmake complained the "include/" subfolder under generated code does not contain CMakeLists.txt.
CMake Error at CMakeLists.txt:120 (add_subdirectory):
The source directory
xxxxx/code/include
does not contain a CMakeLists.txt file.
I installed OSQP by pip. Any ideas? Thanks.
I had the same issue, installed 0.6.1
from conda. There's a file called osqp
in include
directory. Have to rename it to CMakeLists.txt
to make it work.
We just released 0.6.2. Can you please check if that's resolved?
As the (confused) author of issue #48 I can confirm that my codegen problem, which was identical to the one in this issue, is resolved by the pypi 0.6.2 release of OSQP.
That's great! Thanks for confirming it.