openxrlab/xrsfm

xrsfm编译不通过

boge158 opened this issue · 1 comments

cuda版本12.0 Ubuntu版本20.4
编译时报以下错误:
/home/zjlab/data/gkb/XRARdemo/xrsfm/3rdparty/SiftGPU/ProgramCU.cu(96): error: texture is not a template

/home/zjlab/data/gkb/XRARdemo/xrsfm/3rdparty/SiftGPU/ProgramCU.cu(97): error: texture is not a template

/home/zjlab/data/gkb/XRARdemo/xrsfm/3rdparty/SiftGPU/ProgramCU.cu(98): error: texture is not a template

/home/zjlab/data/gkb/XRARdemo/xrsfm/3rdparty/SiftGPU/ProgramCU.cu(99): error: texture is not a template

/home/zjlab/data/gkb/XRARdemo/xrsfm/3rdparty/SiftGPU/ProgramCU.cu(100): error: texture is not a template

/home/zjlab/data/gkb/XRARdemo/xrsfm/3rdparty/SiftGPU/ProgramCU.cu(101): error: texture is not a template

/home/zjlab/data/gkb/XRARdemo/xrsfm/3rdparty/SiftGPU/ProgramCU.cu(129): error: no instance of overloaded function "tex1Dfetch" matches the argument list
argument types are: (, int)

/home/zjlab/data/gkb/XRARdemo/xrsfm/3rdparty/SiftGPU/ProgramCU.cu(193): error: no instance of overloaded function "tex1Dfetch" matches the argument list
argument types are: (, int)

/home/zjlab/data/gkb/XRARdemo/xrsfm/3rdparty/SiftGPU/ProgramCU.cu(234): error: no instance of overloaded function "tex1Dfetch" matches the argument list
argument types are: (, int)

oneLOH commented

这个问题是由于老版本siftgpu不支持cuda 12导致,已经在(fe5c41f) 上修复