Thank you for your excellent work. when i using the code, there are some errors.
first i use ubuntu,cuda11.3,pytorch1.8, it shows :
/home/lh/Nasdata/DJstudents/yyang17/Code/robot/pointnet2/lib/src/ball_query.cpp:3:10: fatal error: THC/THC.h: 没有那个文件或目录
3 | #include <THC/THC.h>
In order to solve this , i tried to use cuda10.2, pytorch1.6,but there still has some errors:
_File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/setuptools/_distutils/dist.py", line 992, in run_command
cmd_obj.run()
File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 79, in run
_build_ext.run(self)
File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 346, in run
self.build_extensions()
File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 653, in build_extensions
build_ext.build_extensions(self)
File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 466, in build_extensions
self._build_extensions_serial()
File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 492, in _build_extensions_serial
self.build_extension(ext)
File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/setuptools/command/build_ext.py", line 202, in build_extension
_build_ext.build_extension(self, ext)
File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/setuptools/_distutils/command/build_ext.py", line 547, in build_extension
objects = self.compiler.compile(
File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 473, in unix_wrap_ninja_compile
_write_ninja_file_and_compile_objects(
File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1233, in _write_ninja_file_and_compile_objects
_run_ninja_build(
File "/home/lh/anaconda3/envs/yy_mesh_1/lib/python3.8/site-packages/torch/utils/cpp_extension.py", line 1538, in _run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error compiling objects for extension_
Can you share your version of pytorch, cuda & pykeops( I used version of 1.5, 2.1 also come out errors)