[osg-users] [build] Building OSG on OS X 10.10.4 - ffmpeg issue

Jeffrey Haines jeffhaines at me.com
Fri Aug 14 12:18:39 PDT 2015


Hi,

I'm trying to compile OSG on OS X 10.10.4

I have all the dependencies install using homebrew.

My build stops at 94% and its related to ffmpeg. 

I need help figuring this out.


Code:
[ 94%] Building CXX object src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/ReaderWriterFFmpeg.cpp.o
[ 95%] Linking CXX shared module ../../../lib/osgPlugins-3.2.3/osgdb_ffmpeg.so
Undefined symbols for architecture x86_64:
  "_av_abuffersink_params_alloc", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_av_buffersink_get_buffer_ref", referenced from:
      _lavfi_read_packet in libavdevice.a(lavfi.o)
  "_av_buffersink_params_alloc", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_avfilter_get_by_name", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_avfilter_graph_alloc", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_avfilter_graph_config", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_avfilter_graph_create_filter", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_avfilter_graph_dump", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_avfilter_graph_free", referenced from:
      _lavfi_read_close in libavdevice.a(lavfi.o)
  "_avfilter_graph_parse", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_avfilter_inout_free", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_avfilter_link", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_avfilter_register_all", referenced from:
      _lavfi_read_header in libavdevice.a(lavfi.o)
  "_avfilter_unref_buffer", referenced from:
      _lavfi_read_packet in libavdevice.a(lavfi.o)
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]: *** [lib/osgPlugins-3.2.3/osgdb_ffmpeg.so] Error 1
make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2
make: *** [all] Error 2




Thank you!

Cheers,
Jeffrey

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=64775#64775








More information about the osg-users mailing list