nihui / realcugan-ncnn-vulkan

real-cugan converter ncnn version, runs fast on intel / amd / nvidia / apple-silicon GPU with vulkan
MIT License
771 stars 46 forks source link

编译报错 #13

Closed arccos2002 closed 2 years ago

arccos2002 commented 2 years ago

realcugan-ncnn-vulkan/src/ncnn/src/gpu.cpp:3006:47: error: ‘PFN_vkDestroySamplerYcbcrConversionKHR’ was not declared in this scope vkDestroySamplerYcbcrConversionKHR = (PFN_vkDestroySamplerYcbcrConversionKHR)vkGetDeviceProcAddr(d->device, "vkDestroySamplerYcbcrConversionKHR"); ^~~~~~~~~~ ncnn/src/CMakeFiles/ncnn.dir/build.make:509: recipe for target 'ncnn/src/CMakeFiles/ncnn.dir/gpu.cpp.o' failed

ncnn:git上最新版本 cmake:3.22

nihui commented 2 years ago

vulkan sdk 版本太旧?