Open DK-HU opened 3 years ago
D:\Anaconda\envs\pytorch\lib\site-packages\torch\utils\cpp_extension.py:189: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building 'maskrcnn_benchmark._C' extension C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\Deep_learing\Mask_RCNN_pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc -ID:\Anaconda\envs\pytorch\lib\site-packages\torch\include -ID:\Anaconda\envs\pytorch\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda\envs\pytorch\lib\site-packages\torch\include\TH -ID:\Anaconda\envs\pytorch\lib\site-packages\torch\include\THC -ID:\Anaconda\envs\pytorch\include -ID:\Anaconda\envs\pytorch\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt" /EHsc /TpD:\Deep_learing\Mask_RCNN_pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\vision.cpp /Fobuild\temp.win-amd64-3.6\Release\Deep_learing\Mask_RCNN_pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\vision.obj /MD /wd4819 /EHsc -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 vision.cpp C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include\cstddef(7): fatal error C1083: 无法打开包括文件: “stddef.h”: No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\cl.exe' failed with exit status 2
Why I can't find the file “stddef.h”
请问下兄弟,同样的情况,你当时是咋解决的
❓ Questions and Help
D:\Anaconda\envs\pytorch\lib\site-packages\torch\utils\cpp_extension.py:189: UserWarning: Error checking compiler version for cl: 'utf-8' codec can't decode byte 0xd3 in position 0: invalid continuation byte warnings.warn('Error checking compiler version for {}: {}'.format(compiler, error)) building 'maskrcnn_benchmark._C' extension C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -ID:\Deep_learing\Mask_RCNN_pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc -ID:\Anaconda\envs\pytorch\lib\site-packages\torch\include -ID:\Anaconda\envs\pytorch\lib\site-packages\torch\include\torch\csrc\api\include -ID:\Anaconda\envs\pytorch\lib\site-packages\torch\include\TH -ID:\Anaconda\envs\pytorch\lib\site-packages\torch\include\THC -ID:\Anaconda\envs\pytorch\include -ID:\Anaconda\envs\pytorch\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include" "-IC:\Program Files (x86)\Windows Kits\10\Include\10.0.17763.0\ucrt" /EHsc /TpD:\Deep_learing\Mask_RCNN_pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\vision.cpp /Fobuild\temp.win-amd64-3.6\Release\Deep_learing\Mask_RCNN_pytorch\maskrcnn-benchmark\maskrcnn_benchmark\csrc\vision.obj /MD /wd4819 /EHsc -DTORCH_API_INCLUDE_EXTENSION_H -DTORCH_EXTENSION_NAME=_C -D_GLIBCXX_USE_CXX11_ABI=0 vision.cpp C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\include\cstddef(7): fatal error C1083: 无法打开包括文件: “stddef.h”: No such file or directory error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\VC\Tools\MSVC\14.16.27023\bin\Hostx64\x64\cl.exe' failed with exit status 2
Why I can't find the file “stddef.h”