具体错误:
libavdevice/dshow_filter.c:109:10: error: implicit declaration of function 'wcscmp'; did you mean 'strcmp'? [-Werror=implicit-function-declaration] if (!wcscmp(id, L"In")) { ^~~~~~ strcmp libavdevice/dshow_filter.c:115:16: note: each undeclared identifier is reported only once for each function it appears in libavdevice/dshow_filter.c: In function 'ff_dshow_filter_JoinFilterGraph': libavdevice/dshow_filter.c:138:9: error: implicit declaration of function 'wcscpy'; did you mean 'strcpy'? [-Werror=implicit-function-declaration] wcscpy(this->info.achName, name); ^~~~~~ strcpy
解决办法:
打开libavdevice/dshow_filter.c,在头部加入:
#include <wchar.h>