Nvidia CUDA Windows 10 help

When I try to run a c++ Cuda program I get this errors(windows 10),
Visual Studio:
C:\ProgramData\NVIDIA Corporation\CUDA Samples\v11.4\0_Simple\matrixMulDrv\matrixMulDrv_vs2019.vcxproj : error : The application for the project is not installed.

CLion:
CMake Error at C:/Program Files/JetBrains/CLion 2021.1.2/bin/cmake/win/share/cmake-3.19/Modules/CMakeDetermineCUDACompiler.cmake:166 (message):
Could not find nvcc, please set CUDAToolkit_ROOT.

I have installed CUDA TOOLKIT .

Hi @jp.sanchezlorenzo
Please note this forum branch is dedicated to CUDA GDB support. You question might be more suitable for (for example): CUDA Setup and Installation - NVIDIA Developer Forums