Hello Moritz-san,

> 2016/11/09 11:21P.M. Moritz Barsnick <barsnick <at> gmx.net> wrote:
> 
> On Wed, Nov 09, 2016 at 20:20:33 +0900, 桃源老師 wrote:
>> $ 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
> [...]
>> SDL2 support              no
> 
> What's the output of these three commands?
> 
> pkg-config --exists --print-errors sdl2 && echo $?

0

> pkg-config --cflags sdl2

-D_THREAD_SAFE -I/Volumes/ffmpeg_compile/include/SDL2

> pkg-config --libs sdl2

-L/Volumes/ffmpeg_compile/lib -lSDL2

Above are the result of requested command.


May be I forget very essential thing on configuring ffmpeg.  That is to add 
“—enable-sdl2”.
./configure —help saids “—disable-sdl2” is auto detect.  So I thought 
“—enable-sdl2” is not required.

Now I get SDL2 support yes and enabled program contains ffplay…But ffmpeg get 
build error like:

LD      ffmpeg_g
LD      ffplay_g
LD      ffprobe_g
Undefined symbols for architecture x86_64:
Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
  "_iconv", referenced from:
Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _SDL_iconv_REAL in libSDL2.a(SDL_iconv.o)
      _SDL_iconv_string_REAL in libSDL2.a(SDL_iconv.o)
      _SDL_iconv_REAL in libSDL2.a(SDL_iconv.o)
      _SDL_iconv_string_REAL in libSDL2.a(SDL_iconv.o)
      _SDL_iconv_REAL in libSDL2.a(SDL_iconv.o)
      _SDL_iconv_string_REAL in libSDL2.a(SDL_iconv.o)

I’m now working to solve this error...


Best Regards,

// Miya aka Tougenroushi

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
ffmpeg-user-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to