标签: ninja编译报错

LINK : fatal error LNK1104: 无法打开文件“python310.lib”解决方案

FAILED: nvdiffrast_plugin.pyd
"VS路径\bin\Hostx64\x64/link.exe" Buffer.o CudaRaster.o RasterImpl.cuda.o RasterImpl.o common.o rasterize.cuda.o interpolate.cuda.o texture.cuda.o texture.o antialias.cuda.o torch_bindings.o torch_rasterize.o torch_interpolate.o torch_texture.o torch_antialias.o /nologo /DLL c10.lib c10_cuda.lib torch_cpu.lib torch_cuda.lib -INCLUDE:?warp_size@cuda@at@@YAHXZ torch.lib /LIBPATH:项目路径\venv\lib\site-packages\torch\lib torch_python.lib /LIBPATH:项目路径\venv\Scripts\libs "/LIBPATH:C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\lib\x64" cudart.lib /out:nvdiffrast_plugin.pyd
LINK : fatal error LNK1104: 无法打开文件“python310.lib”