Skip to content
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

Error when installing on Windows 10 #11

Open
caxelrud opened this issue Dec 27, 2021 · 3 comments
Open

Error when installing on Windows 10 #11

caxelrud opened this issue Dec 27, 2021 · 3 comments

Comments

@caxelrud
Copy link

Hi, I followed all requirements for installation on Windows 10.
But, I got an error as follow. Please, advise:

python setup.py install
running install
running bdist_egg
running egg_info
writing cuosqp.egg-info\PKG-INFO
writing dependency_links to cuosqp.egg-info\dependency_links.txt
writing requirements to cuosqp.egg-info\requires.txt
writing top-level names to cuosqp.egg-info\top_level.txt
reading manifest file 'cuosqp.egg-info\SOURCES.txt'
reading manifest template 'MANIFEST.in'
warning: no files found matching 'osqp_sources\CMakeLists.txt'
warning: no files found matching '' under directory 'osqp_sources\configure'
warning: no files found matching '
' under directory 'osqp_sources\src'
warning: no files found matching '' under directory 'osqp_sources\lin_sys'
warning: no files found matching '
' under directory 'osqp_sources\include'
adding license file 'LICENSE'
writing manifest file 'cuosqp.egg-info\SOURCES.txt'
installing library code to build\bdist.win-amd64\egg
running install_lib
running build_py
running build_ext
CMake Error: The source directory "C:/Users/inter/OneDrive/_myWork/Research2021/Opt_2021/cuosqp-master/osqp_sources" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
Error: could not load cache
error: [Errno 2] No such file or directory: 'osqp_sources\build\out\Release\osqp.lib'

@gbanjac
Copy link
Collaborator

gbanjac commented Dec 28, 2021

Did you clone with the --recursive option as mentioned in the docs?

@caxelrud
Copy link
Author

I found the problem. I downloaded the code as ZIP from Github Website.
The osqp_sources folder is empty.

@gbanjac
Copy link
Collaborator

gbanjac commented Dec 29, 2021

That's because the main OSQP repository is included in cuOSQP as a submodule. I suggest you fetch the code via git. Otherwise, you can manually download the source code from https://github.com/osqp/osqp/tree/cuda-1.0 and include it in osqp_sources.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants