KataGo
KataGo copied to clipboard
Win10+ Cuda11.2+ Vs2019 CMake Error: No CUDA toolset found
After I installed latest CUDA 11.2 and opened CUDA samples with Vs2019 and these sapmles can be built and runned smoothly with Vs2019, when opening Vs 2019 with new project,I can also see CUDA toolset, but after I installed GUI Cmake 3.22.1, and configured "USE_BACKEND" as "CUDA", and then press "Generate" , found below error: "No CUDA toolset found" , my Video Cards are two Geforce 1080 ti, and installed driver is latest NVIDIA 497.09 ,not same with NVIDIA driver CUDA 11.2 comes with . and the error line is located in file CMakeDetermineCompilerId.cmake , it's "if (NOT CMAKE_VS_PLATFORM_TOOLSET_CUDA)", and I searched "NOT CMAKE_VS_PLATFORM_TOOLSET_CUDA", but no idea where this bool value comes from .
how can I fix this issue and continue my compilation of Katago in Vs 2019 ?
Thanks
upload screen shot
I have compiled katago.exe using VS2017 + Cuda 11.1.1 , but when running katago.exe,
jvm.dll is a file that comes with an installation of Java. I have no idea why missing this file would cause a C++ executable compiled against CUDA libraries to fail. But you can try installing installing Java and see if that makes your issue go away.