lfranke / TRIPS

https://lfranke.github.io/trips/
MIT License
495 stars 28 forks source link

Installation issue in wsl2 - make -j10 fails at 51% #16

Closed AlessioRegal closed 4 months ago

AlessioRegal commented 4 months ago

Hello,

After following your installation instructions for Linux, I get the following error:

[ 51%] Building C object External/saiga/submodules/assimp/code/CMakeFiles/assimp.dir/__/contrib/zip/src/zip.c.o [ 51%] Linking CXX shared library ../bin/libassimp.so [ 51%] Built target assimp make: *** [Makefile:156: all] Error 2

I have created the conda environment inside wsl2.

My nvcc version is: nvcc: NVIDIA (R) Cuda compiler driver Copyright (c) 2005-2023 NVIDIA Corporation Built on Wed_Nov_22_10:17:15_PST_2023 Cuda compilation tools, release 12.3, V12.3.107 Build cuda_12.3.r12.3/compiler.33567101_0

The graphic card is an RTX 4090.

Could you please help me resolving this error to successfully complete the installation?

Thank you in advance for your fantastic work.

AlessioRegal commented 4 months ago

I managed to solve the problem by installing manually the cuda toolkit, cudnn, and libtorch solving the compatibilities for my wsl2 specific setup, instead of running the scripts from the repo. Thank you for your great work.