[FFmpeg-user] configure results in SDL2 support no

桃源老師 xanadu6291 at dream.jp
Wed Nov 9 13:20:33 EET 2016


I have installed SDL2 2.0.5 as follows:

$ sdl2-config --version
2.0.5

$ pwd
/Volumes/ffmpeg_compile/lib
$ ls *SDL*
libSDL2.a	libSDL2.la <http://libsdl2.la/>	libSDL2_test.a	libSDL2main.a

$ pwd
/Volumes/ffmpeg_compile/include
$ ls SDL2
SDL.h				SDL_opengles2_khrplatform.h
SDL_assert.h			SDL_pixels.h
SDL_atomic.h			SDL_platform.h
SDL_audio.h			SDL_power.h
SDL_bits.h			SDL_quit.h
SDL_blendmode.h			SDL_rect.h
SDL_clipboard.h			SDL_render.h
SDL_config.h			SDL_revision.h
SDL_cpuinfo.h			SDL_rwops.h
SDL_egl.h			SDL_scancode.h
SDL_endian.h			SDL_shape.h
SDL_error.h			SDL_stdinc.h
SDL_events.h			SDL_surface.h
SDL_filesystem.h		SDL_system.h
SDL_gamecontroller.h		SDL_syswm.h
SDL_gesture.h			SDL_test.h
SDL_haptic.h			SDL_test_assert.h
SDL_hints.h			SDL_test_common.h
SDL_joystick.h			SDL_test_compare.h
SDL_keyboard.h			SDL_test_crc32.h
SDL_keycode.h			SDL_test_font.h
SDL_loadso.h			SDL_test_fuzzer.h
SDL_log.h			SDL_test_harness.h
SDL_main.h			SDL_test_images.h
SDL_messagebox.h		SDL_test_log.h
SDL_mouse.h			SDL_test_md5.h
SDL_mutex.h			SDL_test_random.h
SDL_name.h			SDL_thread.h
SDL_opengl.h			SDL_timer.h
SDL_opengl_glext.h		SDL_touch.h
SDL_opengles.h			SDL_types.h
SDL_opengles2.h			SDL_version.h
SDL_opengles2_gl2.h		SDL_video.h
SDL_opengles2_gl2ext.h		begin_code.h
SDL_opengles2_gl2platform.h	close_code.h

But when I configure ffmpeg with the following option, 

$ ./configure --prefix=${TARGET} --pkg-config-flags=--static --disable-ffserver \
--enable-gpl --enable-version3 --enable-nonfree \
--enable-libmp3lame --enable-libfdk-aac --enable-libvo-amrwbenc \
--enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libvorbis --enable-libspeex \
--enable-libopus --enable-libgsm --enable-libtwolame --enable-libsoxr --enable-libwavpack \
--enable-libmodplug --enable-libopenjpeg --enable-libwebp \
--enable-libtheora --enable-libx264 --enable-libopenh264 --enable-libx265 \
--enable-libxvid --enable-libvpx --enable-libxavs \
--enable-libfreetype --enable-fontconfig --enable-libfribidi --enable-libass \
--enable-libbluray --enable-libvidstab --enable-libschroedinger \
--enable-libsnappy --enable-libzmq

the result shows:

SDL2 support              no

and

Enabled programs:
ffmpeg			   ffprobe

I can’t understand why ffmpeg does not recognize SDL2 and why ffplay does not enabled.

Does anyone help me to build ffplay with SDL2?

My build environment is as follows:
Xcode 8.1
Command Line Tools for Xcode 8.1


Best Regards,

// Miya aka. TougenRoushi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2370 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-user/attachments/20161109/59cdfadb/attachment.bin>


More information about the ffmpeg-user mailing list