ShichenLiu / SoftRas

Project page of paper "Soft Rasterizer: A Differentiable Renderer for Image-based 3D Reasoning"
MIT License
1.2k stars 156 forks source link

g++ error: load_textures_cuda.o: No such file or directory #95

Open ccc013 opened 2 years ago

ccc013 commented 2 years ago

Hello, when I use 'python setup.py install', I got this problem: g++: error: SoftRas-master/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda.o: No such file or directory g++: error: SoftRas-master/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda_kernel.o: No such file or directory error: command 'g++' failed with exit status And I use python 3.8.5, cuda 11.0 and pytorch 1.7.1.

I have tried some methods from other issues, suche #76 , #84 ,but all failed, so what should I do to solve this problem?

runxi607 commented 2 years ago

Hello, when I use 'python setup.py install', I got this problem: g++: error: SoftRas-master/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda.o: No such file or directory g++: error: SoftRas-master/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda_kernel.o: No such file or directory error: command 'g++' failed with exit status And I use python 3.8.5, cuda 11.0 and pytorch 1.7.1.

I have tried some methods from other issues, suche #76 , #84 ,but all failed, so what should I do to solve this problem?

Hello!I encountered the same problem,do you solve this problem?Thank you very much!

yudian11 commented 11 months ago

Hello, when I use 'python setup.py install', I got this problem: g++: error: SoftRas-master/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda.o: No such file or directory g++: error: SoftRas-master/build/temp.linux-x86_64-3.8/soft_renderer/cuda/load_textures_cuda_kernel.o: No such file or directory error: command 'g++' failed with exit status And I use python 3.8.5, cuda 11.0 and pytorch 1.7.1. I have tried some methods from other issues, suche #76 , #84 ,but all failed, so what should I do to solve this problem?

Hello!I encountered the same problem,do you solve this problem?Thank you very much!

@runxi607 hello,would you mind to tell me how to solve this problems?