In file included from ./libavutil/common.h:47, from ./libavutil/avutil.h:301, from ./libavutil/opt.h:31, from libavdevice/sdl2.c:31: ./config.h:340: warning: 'HAVE_PTHREAD_SETNAME_NP' redefined #define HAVE_PTHREAD_SETNAME_NP 0 In file included from /usr/include/SDL2/SDL_stdinc.h:31, from /usr/include/SDL2/SDL_main.h:25, from /usr/include/SDL2/SDL.h:32, from libavdevice/sdl2.c:26: /usr/include/SDL2/SDL_config.h:188: note: this is the location of the previous definition #define HAVE_PTHREAD_SETNAME_NP 1 In file included from libavfilter/vf_amf_common.c:19: libavfilter/vf_amf_common.h:24:10: fatal error: AMF/core/Surface.h: No such file or directory #include 'AMF/core/Surface.h' ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make: *** [ffbuild/common.mak:81: libavfilter/vf_amf_common.o] Error 1 make: *** Waiting for unfinished jobs....