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

Failed installation on window #30

Closed
HoangTrieuVy opened this issue Apr 26, 2024 · 6 comments
Closed

Failed installation on window #30

HoangTrieuVy opened this issue Apr 26, 2024 · 6 comments

Comments

@HoangTrieuVy
Copy link

CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.5 will be removed from a future version of
CMake.

Update the VERSION argument value or use a ... suffix to tell
CMake that the project does not need compatibility with older versions.

CMake Error at CMakeLists.txt:3 (project):
Generator

Visual Studio 16 2019

could not find any instance of Visual Studio.

-- Configuring incomplete, errors occurred!

C:\Users\HL277986\Documents\GitHub\LEAP\win_build>cmake --build . --config Release
CMake Error:
Generator

Visual Studio 16 2019

could not find any instance of Visual Studio.

Failed to compile!

@kylechampley
Copy link
Collaborator

Yes, it looks like you have to install Visual Studio. Did you see the list of dependencies on the wiki page?

@kylechampley
Copy link
Collaborator

Any luck? If you are still having trouble you can just download the precompiled libraries here. You can also run the manual_install.py script to "install" LEAP once you've downloaded the library file.

We are currently working on a new way to compile and install LEAP which should be much easier. Not sure when it will be ready, but we hope soon.

@HoangTrieuVy
Copy link
Author

HoangTrieuVy commented Apr 30, 2024

Really really thank you very much for your help. I can run the demo now via manual installation as you suggest.

@HoangTrieuVy
Copy link
Author

@kylechampley , In fact, I installed Visual Studio 2022, and I open PowerShell of VS in which I can call Conda, pip and cmake but when I run "pip install -v .", it shown the error as I submit above.

@kylechampley
Copy link
Collaborator

I'm glad the manual install worked for you, but it would be great if you could compile LEAP yourself.

I'm not sure Visual Studio (VS) 2022 will work. Sometimes VS development lags behind nvcc (the CUDA compiler) and you have to use older versions of VS. That is why we recommend VS 2019. Also make sure you have cmake version 3.23 or newer.

@kylechampley
Copy link
Collaborator

Did you ever get LEAP to compile?

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