princeton-vl / DROID-SLAM

BSD 3-Clause "New" or "Revised" License
1.75k stars 294 forks source link

cannot install on cudatoolkit<11.1 ? #1

Open dyy0205 opened 3 years ago

dyy0205 commented 3 years ago

Thank you for your great work, but i cannot install 'droid_backends' on cudatoolkit=10.1,is it must be 11.1 according to environment.yaml?

zachteed commented 3 years ago

I've tested with cuda 10.2 and 11.1, but I have not tried with 10.1. Could you post the error message you are getting when trying to compile?

dyy0205 commented 3 years ago

I've tested with cuda 10.2 and 11.1, but I have not tried with 10.1. Could you post the error message you are getting when trying to compile?

thank you for your reply, it's a g++ compile error

截屏2021-09-03上午10 25 21
jasonyzhang commented 2 years ago

When I got the warning about Pytorch being compiled with g++ but c++ being the default compiler, I fixed it by doing this:

CC=gcc CXX=g++ python setup.py install
Sylva-Lin commented 1 year ago

I have the same problem, how did you solve this problem in the end? @dyy0205