F:/study/easy-faster-rcnn.pytorch-master/support/src/cuda/ROIAlign_cuda.cu(280): error: no instance of function template "THCCeilDiv" matches the argument list
argument types are: (long long, long)
F:/study/easy-faster-rcnn.pytorch-master/support/src/cuda/ROIAlign_cuda.cu(280): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (<error-type>, long)
F:/study/easy-faster-rcnn.pytorch-master/support/src/cuda/ROIAlign_cuda.cu(327): error: no instance of function template "THCCeilDiv" matches the argument list
argument types are: (int64_t, long)
F:/stud/easy-faster-rcnn.pytorch-master/support/src/cuda/ROIAlign_cuda.cu(327): error: no instance of overloaded function "std::min" matches the argument list
argument types are: (<error-type>, long)
4 errors detected in the compilation of "C:/Users/����֮/AppData/Local/Temp/tmpxft_000032d8_00000000-10_ROIAlign_cuda.cpp1.ii".
ROIAlign_cuda.cu
error: command 'C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\bin\\nvcc.exe' failed with exit status 1
Solution
Add (long) to the error
Read More:
- [Solved] error: link.exe‘ failed with exit status 1158
- cl.exe Error resolution of ‘failed with exit status 2
- Collect2.exe: error: LD returned 5 exit status solution
- About the problem of collect2.exe [error] LD returned 1 exit status in dev!!!
- undefined reference to `WinMain‘collect2.exe: error: ld returned 1 exit status
- Vs2019: solution nvcc total: cannot find compiler‘ cl.exe ‘ in PATH
- Solutions to the problem of “collect2.exe: error: LD returned 1” exit “status when writing C + + with vscode
- command ‘gcc‘ failed with exit status 4
- command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- Install Python package under MacOS: “error: Command ‘GCC’ failed with exit status 1”
- Ubuntu16.04 pip3 install PyAudio 出错:error: command ‘x86_64-linux-gnu-gcc’ failed with exit status 1
- Unable to install SQL Server (setup.exe), VS Shell installation has failed with exit code 1638.
- Error: Command ‘/ usr / bin / clang’ failed with exit status 1 solution for Mac OS installation
- error: command ‘arm-linux-gnueabihf-gcc’ failed with exit status 1, Raspberry Pi installation paramiko
- Error: LTO wrapper failed collect2: error: LD returned 1 exit status
- Error: Command ‘arm linux gnueabihf GCC’ failed with exit status 1, raspberry pie install paramiko
- A solution to [error] LD returned 1 exit status
- Python MAC installation mysqlclient package error “error: Command ‘clang’ failed with exit status 1” solution
- Python Mac installs mysqlclient package error “error: command’clang’ failed with exit status 1” solution
- collect2: error:ld returned 1 exit status solution