Hi Robert,

bummer, the latest change for ffmpeg broke it on my Mac:

Linking CXX shared module ../../../lib/osgPlugins-3.0.0/osgdb_ffmpeg.so
Undefined symbols:
  "av_get_pix_fmt(char const*)", referenced from:
      osgFFmpeg::FFmpegParameters::parse(std::basic_string<char, 
std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)in FFmpegParameters.cpp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[2]: *** [lib/osgPlugins-3.0.0/osgdb_ffmpeg.so] Error 1
make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2
make: *** [all] Error 2

I have the following in libavcodec/avcodec.h:

#define LIBAVCODEC_VERSION_MAJOR 52
#define LIBAVCODEC_VERSION_MINOR 72
#define LIBAVCODEC_VERSION_MICRO  2

const char *avcodec_get_pix_fmt_name(enum PixelFormat pix_fmt);

Cheers,
/ulrich
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to