hrlblab / CircleSnake

CircleSnake paper
Other
12 stars 3 forks source link

About compile extreme_utils #2

Open LiuReboot opened 1 year ago

LiuReboot commented 1 year ago

The following problem occurs when compiling ”extreme_utils“. How can I solve it? My pytorch version is 1.11 and cuda version is 11.3.My compilation platform is 3090, how did you compile successfully? C:/Users/cwnu/anaconda3/envs/py37/lib/site-packages/torch/include\c10/macros/Macros.h(142): warning C4067: 预处理器指令后有意外标记 - 应输入换行符 D:\PythonProject\CircleSnake-main\lib\csrc\extreme_utils\src\nms.cu(5): fatal error C1083: 无法打开包括文件: “THC/THC.h”: No such file or directory error: command 'C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.3\bin\nvcc.exe' failed with exit status 2

JumingXiong commented 10 months ago

i think you should download the CUDAtoolkit from NVIDIA website and add path to the environment