There is a problem when using cpp_extension.py

I face this error when using cpp_extension.py, can anyone give me some ideas to solve this?
Thank you so much

Traceback (most recent call last):
File “C:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\utils\cpp_extension.py”, line 1522, in _run_ninja_build
env=env)
File “C:\Users\mdan2\anaconda3\envs\deca\lib\subprocess.py”, line 512, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command ‘[‘ninja’, ‘-v’]’ returned non-zero exit status 1.

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File “demos/demo_transfer.py”, line 133, in
main(parser.parse_args())
File “demos/demo_transfer.py”, line 42, in main
deca = DECA(config=deca_cfg, device=device)
File “D:\NTUST\Thesis\Multi-camera Tracking\DECA\decalib\deca.py”, line 50, in init
self.setup_renderer(self.cfg.model)
File “D:\NTUST\Thesis\Multi-camera Tracking\DECA\decalib\deca.py”, line 53, in setup_renderer
set_rasterizer(self.cfg.rasterizer_type)
File “D:\NTUST\Thesis\Multi-camera Tracking\DECA\decalib\utils\renderer.py”, line 41, in set_rasterizer
extra_cuda_cflags = [‘-std=c++14’, ‘-ccbin=$$(which gcc-7)’]) # cuda10.2 is not compatible with gcc9. Specify gcc 7
File “C:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\utils\cpp_extension.py”, line 980, in load
keep_intermediates=keep_intermediates)
File “C:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\utils\cpp_extension.py”, line 1185, in jit_compile
with_cuda=with_cuda)
File “C:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\utils\cpp_extension.py”, line 1283, in write_ninja_file_and_build_library
error_prefix=“Error building extension ‘{}’”.format(name))
File “C:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\utils\cpp_extension.py”, line 1538, in run_ninja_build
raise RuntimeError(message) from e
RuntimeError: Error building extension ‘standard_rasterize_cuda’: [1/2] C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -DTORCH_EXTENSION_NAME=standard_rasterize_cuda -DTORCH_API_INCLUDE_EXTENSION_H -IC:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\include -IC:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\include\TH -IC:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\include\THC “-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include” -IC:\Users\mdan2\anaconda3\envs\deca\Include -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS
-D__CUDA_NO_HALF_CONVERSIONS
-D__CUDA_NO_HALF2_OPERATORS
_ --expt-relaxed-constexpr -gencode=arch=compute_86,code=sm_86 -std=c++14 “-ccbin=$(which gcc-7)” -c “D:\NTUST\Thesis\Multi-camera Tracking\DECA\decalib\utils\rasterizer\standard_rasterize_cuda_kernel.cu” -o standard_rasterize_cuda_kernel.cuda.o
FAILED: standard_rasterize_cuda_kernel.cuda.o
C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc -Xcudafe --diag_suppress=dll_interface_conflict_dllexport_assumed -Xcudafe --diag_suppress=dll_interface_conflict_none_assumed -Xcudafe --diag_suppress=field_without_dll_interface -Xcudafe --diag_suppress=base_class_has_different_dll_interface -Xcompiler /EHsc -Xcompiler /wd4190 -Xcompiler /wd4018 -Xcompiler /wd4275 -Xcompiler /wd4267 -Xcompiler /wd4244 -Xcompiler /wd4251 -Xcompiler /wd4819 -Xcompiler /MD -DTORCH_EXTENSION_NAME=standard_rasterize_cuda -DTORCH_API_INCLUDE_EXTENSION_H -IC:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\include -IC:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\include\torch\csrc\api\include -IC:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\include\TH -IC:\Users\mdan2\anaconda3\envs\deca\lib\site-packages\torch\include\THC “-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\include” -IC:\Users\mdan2\anaconda3\envs\deca\Include -D_GLIBCXX_USE_CXX11_ABI=0 -D__CUDA_NO_HALF_OPERATORS__ -D__CUDA_NO_HALF_CONVERSIONS__ -D__CUDA_NO_HALF2_OPERATORS__ --expt-relaxed-constexpr -gencode=arch=compute_86,code=sm_86 -std=c++14 “-ccbin=$(which gcc-7)” -c “D:\NTUST\Thesis\Multi-camera Tracking\DECA\decalib\utils\rasterizer\standard_rasterize_cuda_kernel.cu” -o standard_rasterize_cuda_kernel.cuda.o
ninja: build stopped: subcommand failed.