R-PCC
R-PCC copied to clipboard
Cannot install by setup.py develop
Hello! When I try to set up the environment by python setup.py develop.
The compile fails and shows the following issue: ops\fps\src/sampling.cpp(4): fatal error C1083: Cannot open include file: 'THC/THC.h': No such file or directory
Even if I command include <THC/THC.h>, it still has the following bug: ops\fps\src/sampling.cpp(31): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. ops\fps\src/sampling.cpp(32): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. ops\fps\src/sampling.cpp(33): warning C4996: 'at::Tensor::data': Tensor.data<T>() is deprecated. Please use Tensor.data_ptr<T>() instead. error: command 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.36.32532\bin\HostX86\x64\cl.exe' failed with exit code 2
My environment is : Python3.10 Windows 11 && Ubuntu 22.04 (all try and have the same bug)
Thank you so much!
I also have this problem now,do you solve it?Could you please tell me how do you solve this problem? My environment is: Python3.8 Ubuntu20.04 Pytorch2.0 Thank you !