Open ronaldomoon opened 3 months ago
Add your Microsoft Visual Studio \ 2022 \ Community \ VC \ Tools \ MSVC \ 14.40.33807 \ bin \ Hostx64 \ x64 to the environment variable (system variable)
hi, thaanks. but after setting the variable, i got this error. pls help! thanks
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include\cstddef(11): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory [5/6] cl /showIncludes -DTORCH_EXTENSION_NAME=nvdiffrast_plugin_gl -DTORCH_API_INCLUDE_EXTENSION_H -ID:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include -ID:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch\csrc\api\include -ID:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\TH -ID:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\include" -ID:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Include -D_GLIBCXX_USE_CXX11_ABI=0 /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc /std:c++17 -DNVDR_TORCH -c D:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Lib\site-packages\nvdiffrast\torch\torch_rasterize_gl.cpp /Fotorch_rasterize_gl.o FAILED: torch_rasterize_gl.o cl /showIncludes -DTORCH_EXTENSION_NAME=nvdiffrast_plugin_gl -DTORCH_API_INCLUDE_EXTENSION_H -ID:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include -ID:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\torch\csrc\api\include -ID:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\TH -ID:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Lib\site-packages\torch\include\THC "-IC:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v12.1\include" -ID:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Include -D_GLIBCXX_USE_CXX11_ABI=0 /MD /wd4819 /wd4251 /wd4244 /wd4267 /wd4275 /wd4018 /wd4190 /wd4624 /wd4067 /wd4068 /EHsc /std:c++17 -DNVDR_TORCH -c D:\ComfyUI_3D\ComfyUI_windows_portable\python_embeded\Lib\site-packages\nvdiffrast\torch\torch_rasterize_gl.cpp /Fotorch_rasterize_gl.o Microsoft (R) C/C++ Optimizing Compiler Version 19.41.34120 for x64 Copyright (C) Microsoft Corporation. All rights reserved.
C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.41.34120\include\cstddef(11): fatal error C1083: Cannot open include file: 'stddef.h': No such file or directory ninja: build stopped: subcommand failed.
I have every VC++ redistributable installed. I triple checked.
Yet I get this...