Closed conorcodes closed 4 years ago
@conorcodes Unfortunately I don't have access to a Windows machine and can't help you with the compilation right now.
I did manage to get it installed. Removing all debugging if statements in AT_DISPATCH_FLOATING_TYPES(
solved it for me.
@conorcodes Do you means DEBUG_PRINT? I have the same error and delete all DEBUG_PRINT but still have the problem
I met new problem:
error LNK2001: undefined external symbol "public: long * __cdecl at::Tensor::data
@zhaishengfu Here's my modified file that works on windows:
https://gist.github.com/conorcodes/612f3358f0c2569f26e07c5fd86345fe
how to run this code in win10?
thanks @conorcodes
hello do you know how to run this code in win10? @conorcodes
hi @electronicliujiang check the gist I posted above. That works for me on windows10
I met new problem: error LNK2001: undefined external symbol "public: long * __cdecl at::Tensor::data(void)const " (??$data@J@Tensor@at@@QEBAPEAJXZ)
Hey, I encountered the same error, may I know you solution to the problem?
I'm having trouble getting this to work on Windows. I get these errors when running setup.py
`src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: identifier "start" is undefined
src/bvh_cuda_op.cu(945): error: identifier "stop" is undefined
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected a ";"
src/bvh_cuda_op.cu(945): warning: variable "triangles_ptr" was declared but never referenced
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: identifier "start" is undefined
src/bvh_cuda_op.cu(945): error: identifier "stop" is undefined
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: expected an expression
src/bvh_cuda_op.cu(945): error: "#" not expected here
src/bvh_cuda_op.cu(945): error: "#" not expected here
Error limit reached. 100 errors detected in the compilation of "C:/Users/fitzgcon/AppData/Local/Temp/1/tmpxft_00001d58_00000000-10_bvh_cuda_op.cpp1.ii". Compilation terminated. error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.2\bin\nvcc.exe' failed with exit status 1`