Recently, I have been learning RTK, and there are no issues with the CPU version compilation. However, after installing Cuda, I marked RTK in the cmake option_ USE_ CUDA, I can’t compile it anymore. I am sure Cuda has been installed and tested on my computer
>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(152): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>D:\RTK-2.4.1\src\rtkCudaDisplacedDetectorImageFilter.cu(96): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaDisplacedDetectorImageFilter.cu(155): error : identifier "cudaBindTexture" is undefined
8>
8>D:\RTK-2.4.1\src\rtkCudaDisplacedDetectorImageFilter.cu(185): error : identifier "cudaUnbindTexture" is undefined
8>
8>
8>7 errors detected in the compilation of "D:/RTK-2.4.1/src/rtkCudaDisplacedDetectorImageFilter.cu".
8>10 errors detected in the compilation of "D:/RTK-2.4.1/src/rtkCudaFDKWeightProjectionFilter.cu".
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(152): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>Compiling CUDA source file ..\..\RTK-2.4.1\src\rtkCudaLaplacianImageFilter.cu...
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(153): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(153): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(158): error : no instance of overloaded function "tex3D" matches the argument list
8> argument types are: (<error-type>, float, float, float)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(159): error : no instance of overloaded function "tex3D" matches the argument list
8> argument types are: (<error-type>, float, float, float)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(160): error : no instance of overloaded function "tex3D" matches the argument list
8> argument types are: (<error-type>, float, float, float)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(164): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(164): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(165): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8>rtkCudaDisplacedDetectorImageFilter.cu
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(165): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(166): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(166): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(167): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(167): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8>rtkCudaFDKWeightProjectionFilter.cu
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(168): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(168): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(169): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(169): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(178): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(179): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(180): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(181): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(182): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(183): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(184): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(185): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(186): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(187): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(188): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(189): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(326): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(326): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(327): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(327): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(328): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
8>D:\RTK-2.4.1\src\rtkCudaForwardWarpImageFilter.cu(328): error : no instance of overloaded function "tex1Dfetch" matches the argument list
8> argument types are: (<error-type>, int)
8>
Here are some error messages