Closed HoangTrieuVy closed 1 month ago
Yes, it looks like you have to install Visual Studio. Did you see the list of dependencies on the wiki page?
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.
Really really thank you very much for your help. I can run the demo now via manual installation as you suggest.
@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.
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.
Did you ever get LEAP to compile?
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
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
could not find any instance of Visual Studio.
Failed to compile!