Compiling ffmpeg with SDL and visual studio?

Questions that occur when trying to compile FFmpeg.
Post Reply
kufinge
Posts: 1
Joined: Sat May 25, 2019 2:59 pm

Compiling ffmpeg with SDL and visual studio?

Post by kufinge » Sat May 25, 2019 5:19 pm

So, I was following these instruction https://trac.ffmpeg.org/wiki/CompilationGuide/MSVC , but I need SDL2 installed to compile ffplay.

Look that sdl2-config spits out right now:

Code: Select all

$ sdl2-config --cflags
-I/usr/include/SDL2 -Dmain=SDL_main
$ sdl2-config --libs
-L/usr/lib -lSDL2main -lSDL2 -mwindows
I can edit sdl2-config, but I don't know what it should say, what flags should it send to visual studio compiler?

Post Reply