LEAP icon indicating copy to clipboard operation
LEAP copied to clipboard

Failed installation on window

Open HoangTrieuVy opened this issue 1 year ago • 6 comments

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!

HoangTrieuVy avatar Apr 26 '24 09:04 HoangTrieuVy

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

kylechampley avatar Apr 26 '24 14:04 kylechampley

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.

kylechampley avatar Apr 30 '24 03:04 kylechampley

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

HoangTrieuVy avatar Apr 30 '24 11:04 HoangTrieuVy

@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.

HoangTrieuVy avatar Apr 30 '24 11:04 HoangTrieuVy

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 avatar Apr 30 '24 13:04 kylechampley

Did you ever get LEAP to compile?

kylechampley avatar May 08 '24 00:05 kylechampley