I’ve found the issue.
46>-- Found PythonLibs: optimized;C:/D/S4R/python-install/libs/python39.lib;debug;C:/Users/toshiba/AppData/Local/Programs/Python/Python39/libs/python39_d.lib (found suitable exact version "3.9.10")
You installed Python on your computer and added to the system path or some other environment variable. This of course interferes with all other Python installations on your system, including the embedded Python interpreter in Slicer.
I would recommend to remove Python from your system path. Alternatively, you can temporarily (while you are building Slicer), rename the C:/Users/toshiba/AppData/Local/Programs/Python
to something else (e.g., C:/Users/toshiba/AppData/Local/Programs/PythonTemp
) to make sure that it is not found during the build process.