webrtc-audio-processing does not build on MSVC
Filing a bug here documenting what I found so I don't forget, and for other people interested in working on this.
Naively doing a meson build with MSVC support inside Cerbero yields so many errors while building the first file common_types.cc
that the compiler stops reporting errors: fatal error C1003: error count exceeds 100; stopping compilation
. Most of it seems to be due to C++ syntax errors inside MSVC headers like string.h
. I traced this down to the existence of sal.h
in the sources.
The next problem was while building webrtc/system_wrappers/source/trace_win.cc
, inside winsock.h
and ws2def.h
, with tens of errors, and I stopped there.
I suspect that the patches which ported the source code to MinGW by @ndufresne broke the MSVC build. It's going to take some work untangling everything.