[Bf-committers] Blender build error on OSX with FFMPEG

Jasper van Nieuwenhuizen jaspervannieuwenhuizen at gmail.com
Thu Apr 10 10:00:40 CEST 2014


Hi all,

This is my first time posting to this list. I'd like to thank you all for
the hard work and making Blender the awesome program it is!
Since Jens Verwiebe updated ffmpeg for osx, I get an error when building
Blender with ffmpeg enabled. I'm building with CMAKE and am on osx 10.8.5.
This is the error I get:

Linking CXX executable ../../bin/blender.app/Contents/MacOS/blender
Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
     (maybe you meant: _SDL_iconv_open, _SDL_iconv_string , _SDL_iconv ,
_SDL_iconv_close )
  "_iconv_close", referenced from:
      _avcodec_open2 in libavcodec.a(utils.o)
      _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
     (maybe you meant: _SDL_iconv_close)
  "_iconv_open", referenced from:
      _avcodec_open2 in libavcodec.a(utils.o)
      _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
     (maybe you meant: _SDL_iconv_open)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [bin/blenderplayer.app/Contents/MacOS/blenderplayer] Error 1
make[1]: *** [source/blenderplayer/CMakeFiles/blenderplayer.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Undefined symbols for architecture x86_64:
  "_iconv", referenced from:
      _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
     (maybe you meant: _SDL_iconv_close, _SDL_iconv , _SDL_iconv_open ,
_SDL_iconv_string )
  "_iconv_close", referenced from:
      _avcodec_open2 in libavcodec.a(utils.o)
      _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
     (maybe you meant: _SDL_iconv_close)
  "_iconv_open", referenced from:
      _avcodec_open2 in libavcodec.a(utils.o)
      _avcodec_decode_subtitle2 in libavcodec.a(utils.o)
     (maybe you meant: _SDL_iconv_open)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see
invocation)
make[2]: *** [bin/blender.app/Contents/MacOS/blender] Error 1
make[1]: *** [source/creator/CMakeFiles/blender.dir/all] Error 2
make: *** [all] Error 2

I hope you can help.
Cheers, thanks and keep up the good work!

jasper


More information about the Bf-committers mailing list