Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lack of stack_chamfer_kernel.obj #1

Open
chouchouxia opened this issue Jul 27, 2021 · 4 comments
Open

lack of stack_chamfer_kernel.obj #1

chouchouxia opened this issue Jul 27, 2021 · 4 comments

Comments

@chouchouxia
Copy link

hello,when i run "python setup.py install" in the console, there is an error occur: cannot open input file "D:\XXX\XXX...\XXX\stack_chamfer_kernel.obj"

@justanhduc
Copy link
Owner

Hi @chouchouxia. Could you please provide your environment information? Also, are you able to compile pytorch from source?

@chouchouxia
Copy link
Author

Hi,this is my environment information:
1)windows 10
2)cuda10.2
3)pytorch 1.17.1

I am sorry that I don't know how to compile pytorch from source. I will google and try it later.
Thanks for your advice.

@chouchouxia
Copy link
Author

chouchouxia commented Aug 7, 2021

Hello,after compiling pytorch from source,I run "python setup.py install" in the console and got the error message as following:

#######################
`x86_64-linux-gnu-g++: error: /home/mist/Desktop/PythonProject/stack-chamfer/build/temp.linux-x86_64-3.6/home/mist/Desktop/PythonProject/stack-chamfer/csrc/stack_chamfer_cuda.o: No such file or directory

x86_64-linux-gnu-g++: error: /home/mist/Desktop/PythonProject/stack-chamfer/build/temp.linux-x86_64-3.6/home/mist/Desktop/PythonProject/stack-chamfer/csrc/bindings.o: No such file or directory

x86_64-linux-gnu-g++: error: /home/mist/Desktop/PythonProject/stack-chamfer/build/temp.linux-x86_64-3.6/home/mist/Desktop/PythonProject/stack-chamfer/csrc/stack_chamfer_kernel.o: No such file or directory

error: command 'x86_64-linux-gnu-g++' failed with exit status 1`
#######################

Could you give me some advices about this? I have troubled in this for a long time.
Environtment:
torch: 1.10.0a0+gite6a3154
cuda: 11.2
OS: Linux version 4.15.0-151-generic (buildd@lgw01-amd64-042) (gcc version 7.5.0 (Ubuntu 7.5.0-3ubuntu1~18.04)) #157-Ubuntu SMP Fri Jul 9 23:07:57 UTC 2021
Nvidia: 3060

@justanhduc
Copy link
Owner

@chouchouxia this error looks quite strange to me and I couldn't reproduce it locally. Are you able to reproduce it in Colab? Otherwise, could you show the full output when you run installation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants