Hi Sid,

Update to the latest trunk version and the problem should be already fixed.

Wang Rui


2011/7/20 Sid Boyce <[email protected]>:
> There is a problem building openscenegraph against the latest ffmpeg-0.8.
>
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:81:106:
> warning: ‘int av_open_input_file(AVFormatContext**, const char*,
> AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at
> /usr/include/libavformat/avformat.h:1110) [-Wdeprecated-declarations]
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:88:26:
> error: ‘AVERROR_IO’ was not declared in this scope
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:89:26:
> error: ‘AVERROR_NUMEXPECTED’ was not declared in this scope
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:91:26:
> error: ‘AVERROR_NOMEM’ was not declared in this scope
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:92:26:
> error: ‘AVERROR_NOFMT’ was not declared in this scope
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:93:26:
> error: ‘AVERROR_NOTSUPP’ was not declared in this scope
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:94:26:
> error: ‘AVERROR_NOENT’ was not declared in this scope
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:106:17:
> warning: ‘int av_open_input_file(AVFormatContext**, const char*,
> AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at
> /usr/include/libavformat/avformat.h:1110) [-Wdeprecated-declarations]
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:106:96:
> warning: ‘int av_open_input_file(AVFormatContext**, const char*,
> AVInputFormat*, int, AVFormatParameters*)’ is deprecated (declared at
> /usr/include/libavformat/avformat.h:1110) [-Wdeprecated-declarations]
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:123:9:
> warning: ‘void dump_format(AVFormatContext*, int, const char*, int)’ is
> deprecated (declared at /usr/include/libavformat/avformat.h:1597)
> [-Wdeprecated-declarations]
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:123:65:
> warning: ‘void dump_format(AVFormatContext*, int, const char*, int)’ is
> deprecated (declared at /usr/include/libavformat/avformat.h:1597)
> [-Wdeprecated-declarations]
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:
> In member function ‘void osgFFmpeg::FFmpegDecoder::findAudioStream()’:
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:223:64:
> error: ‘CODEC_TYPE_AUDIO’ was not declared in this scope
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:
> In member function ‘void osgFFmpeg::FFmpegDecoder::findVideoStream()’:
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:241:64:
> error: ‘CODEC_TYPE_VIDEO’ was not declared in this scope
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:
> In member function ‘bool osgFFmpeg::FFmpegDecoder::readNextPacketNormal()’:
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:281:17:
> warning: ‘int url_ferror(AVIOContext*)’ is deprecated (declared at
> /usr/include/libavformat/avio.h:298) [-Wdeprecated-declarations]
> /home/lancelot/ftp/jun11/OSG/OpenSceneGraph/src/osgPlugins/ffmpeg/FFmpegDecoder.cpp:281:48:
> warning: ‘int url_ferror(AVIOContext*)’ is deprecated (declared at
> /usr/include/libavformat/avio.h:298) [-Wdeprecated-declarations]
> make[2]: ***
> [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoder.o] Error 1
> make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2
> make: *** [all] Error 2
> slipstream:/home/lancelot/ftp/jun11/OSG/OpenSceneGraph # svn info
> Path: .
> URL:
> http://www.openscenegraph.org/svn/osg/OpenSceneGraph/tags/OpenSceneGraph-3.0.0-rc3
> Repository Root: http://www.openscenegraph.org/svn/osg
> Repository UUID: 16af8721-9629-0410-8352-f15c8da7e697
> Revision: 12702
> Node Kind: directory
> Schedule: normal
> Last Changed Author: robert
> Last Changed Rev: 12604
> Last Changed Date: 2011-06-22 17:36:14 +0100 (Wed, 22 Jun 2011)
> Regards
> Sid.
> --
> Sid Boyce ... Hamradio License G3VBV, Licensed Private Pilot
> Emeritus IBM/Amdahl Mainframes and Sun/Fujitsu Servers Tech Support
> Senior Staff Specialist, Cricket Coach
> Microsoft Windows Free Zone - Linux used for all Computing Tasks
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to