error: command 'C:\\Program Files (x86)\\Microsoft Visual Studio\\2019\\Enterprise\\VC\\Tools\\MSVC\\14.25.28610\\bin\\HostX86\\x64\\cl.exe' failed with exit status 2
WestbrookZero opened this issue · 1 comments
git submodule init && git submodule update
python setup.py build
creating build\temp.win-amd64-3.7\Release\src
C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\bin\HostX86\x64\cl.exe /c /nologo /Ox /W3 /GL /DNDEBUG /MD -DWEBRTC_LINUX -DWEBRTC_POSIX -DWEBRTC_NS_FLOAT -DWEBRTC_AUDIO_PROCESSING_ONLY_BUILD -Isrc -Iwebrtc-audio-processing -ID:\InstallPath\Develop\Anaconda3\5.3.1\envs\AudioCompare02\include -ID:\InstallPath\Develop\Anaconda3\5.3.1\envs\AudioCompare02\include "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\ATLMFC\include" "-IC:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\include" "-IC:\Program Files (x86)\Windows Kits\NETFXSDK\4.8\include\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt" "-IC:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt" /EHsc /Tpwebrtc-audio-processing/webrtc\common_types.cc /Fobuild\temp.win-amd64-3.7\Release\webrtc-audio-processing/webrtc\common_types.obj -std=c++11
cl: 命令行 warning D9002 :忽略未知选项“-std=c++11”
common_types.cc
webrtc-audio-processing\webrtc/common_types.h(299): error C2039: "strcasecmp": 不是 "global namespace'" 的成员 webrtc-audio-processing\webrtc/common_types.h(299): error C3861: “strcasecmp”: 找不到标识符 webrtc-audio-processing\webrtc/common_types.h(723): error C2039: "strcasecmp": 不是 "
global namespace'" 的成员
webrtc-audio-processing\webrtc/common_types.h(723): error C3861: “strcasecmp”: 找不到标识符
error: command 'C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Tools\MSVC\14.25.28610\bin\HostX86\x64\cl.exe' failed with exit status 2
(AudioCompare02) D:\Projects\SpeechCompare\SilenceDetector\python-webrtc-audio-processing>
抱歉,Windows上没有试过