Hi!
Thank you for your code. This is a surprising article, but I encountered a confusing compilation error when I run setup.py:
/home/anaconda3/compiler_compat/ld: cannot find -lc10
/home/anaconda3/compiler_compat/ld: cannot find -ltorch
/home/anaconda3/compiler_compat/ld: cannot find -ltorch_cpu
/home/anaconda3/compiler_compat/ld: cannot find -ltorch_python
/home/anaconda3/compiler_compat/ld: cannot find -lc10_cuda
/home/anaconda3/compiler_compat/ld: cannot find -ltorch_cuda
collect2: error: ld returned 1 exit status
error: command 'g++' failed with exit status 1
My environment is torch 1.7.1, cuda 10.1, and gcc 7.5. It looks OK, but an error occurs
Looking forward your reply!
Hi! Thank you for your code. This is a surprising article, but I encountered a confusing compilation error when I run setup.py: /home/anaconda3/compiler_compat/ld: cannot find -lc10 /home/anaconda3/compiler_compat/ld: cannot find -ltorch /home/anaconda3/compiler_compat/ld: cannot find -ltorch_cpu /home/anaconda3/compiler_compat/ld: cannot find -ltorch_python /home/anaconda3/compiler_compat/ld: cannot find -lc10_cuda /home/anaconda3/compiler_compat/ld: cannot find -ltorch_cuda collect2: error: ld returned 1 exit status error: command 'g++' failed with exit status 1 My environment is torch 1.7.1, cuda 10.1, and gcc 7.5. It looks OK, but an error occurs Looking forward your reply!