You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have Windows 10 and I have been trying to install torchsparse, but no success.
When I run pip things compile, but linkage fails. It says:
Creating library C:\Users\WeizmanL\AppData\Local\Temp\pip-req-build-6qzmrtnx\build\temp.win-amd64-3.8\Release\torchsparse/src\torchsparse_cuda.cp38-win_amd64.lib and object C:\Users\WeizmanL\AppData\Local\Temp\pip-req-build-6qzmrtnx\build\temp.win-amd64-3.8\Release\torchsparse/src\torchsparse_cuda.cp38-win_amd64.exp
hash_cpu.obj : error LNK2001: unresolved external symbol "public: long * __cdecl at::Tensor::data_ptr(void)const " (??$data_ptr@J@Tensor@at@@QEBAPEAJXZ)
build\lib.win-amd64-3.8\torchsparse_cuda.cp38-win_amd64.pyd : fatal error LNK1120: 1 unresolved externals
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\link.exe' failed with exit status 1120
Any ideas?
Thank you
The text was updated successfully, but these errors were encountered:
Hello @weizmanl I was able to make it work following what @dfhe2004 said and doing some other stuff, I did a more detailed explanation on this issue #12 (comment)
Hi,
I have Windows 10 and I have been trying to install torchsparse, but no success.
When I run pip things compile, but linkage fails. It says:
Creating library C:\Users\WeizmanL\AppData\Local\Temp\pip-req-build-6qzmrtnx\build\temp.win-amd64-3.8\Release\torchsparse/src\torchsparse_cuda.cp38-win_amd64.lib and object C:\Users\WeizmanL\AppData\Local\Temp\pip-req-build-6qzmrtnx\build\temp.win-amd64-3.8\Release\torchsparse/src\torchsparse_cuda.cp38-win_amd64.exp
hash_cpu.obj : error LNK2001: unresolved external symbol "public: long * __cdecl at::Tensor::data_ptr(void)const " (??$data_ptr@J@Tensor@at@@QEBAPEAJXZ)
build\lib.win-amd64-3.8\torchsparse_cuda.cp38-win_amd64.pyd : fatal error LNK1120: 1 unresolved externals
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\BuildTools\VC\Tools\MSVC\14.28.29333\bin\HostX86\x64\link.exe' failed with exit status 1120
Any ideas?
Thank you
The text was updated successfully, but these errors were encountered: