c:\program files\nvidia gpu computing toolkit\cuda\v11.8\include\crt/host_config.h(231): fatal error C1083: 无法打开包括文件: “crtdefs.h”: No such file or directory
配置: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v11.8\bin\nvcc.profile
INCLUDES += “-I$(TOP)/include” “-IC:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.16.27023/include” “-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.26100.0/ucrt” “-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.26100.0/um” “-IC:/Program Files (x86)/Windows Kits/10/Include/10.0.26100.0/shared” $(SPACE)
配置: diff-gaussian-rasterization中的setup.py,添加
include_dirs=[“C://Program Files (x86)//Windows Kits//10//Include//10.0.19041.0//ucrt”,
“C://Program Files (x86)//Microsoft Visual Studio//2019//Community//VC//Tools//MSVC//14.29.30133//include”,
“C://Program Files (x86)//Windows Kits//10//Include//10.0.19041.0//shared”],
library_dirs=[“C://Program Files (x86)//Microsoft Visual Studio//2019//Community//VC//Tools//MSVC//14.29.30133//lib//x64”