On Fri, 7 Oct 2016 15:49:07 +0200
Tito Latini <tito.01beta(a)gmail.com> wrote:
it depends on SDL, 1.2.1 <= version < 1.3.0
Now with ffmpeg from git, the same problem happens. Obviously, SDL and
its development are installed since libav built just fine. I would
have thought that after this ffmpeg would build just fine with ffplay,
but that's not the case. The configuration stage reports clearly:
SDL2 support no
So let's try:
% ./configure --enable-shared --enable-sdl2
% make
libavdevice/sdl2.c:26:17: fatal error: SDL.h: no such file
% dpkg -L libsdl1.2-dev | grep SDL
[..]
/usr/include/SDL/SDL.h
[..]
Adding the actual path in sdl2.c does not solve the problem:
#include </usr/include/SDL/SDL.h>
#include </usr/include/SDL/SDL_thread.h>
% make clean
same configure as above
% make
[...]
CC libavdevice/sdl2.o
libavdevice/sdl2.c:44:5: error: unknown type name ‘SDL_Window’
SDL_Window *window;
[...]
As now the SDL binaries are not seen by ffmpeg.