Thanks for responding, Alberto.  I updated ffmpeg using the information from 
the Ubuntu Compilation Guide at the ffmpeg website and attempted the 
compilation and install with a fresh start.  It still gave me the same error 
upon halting.  Would you happen to have any other ideas or suggestions?  I've 
included more information about the error this time.


[ 97%] Building CXX obje[ 97%] Building CXX object 
src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.oct 
src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o
In file included from /usr/local/include/libavutil/avutil.h:274:0,
                 from /usr/local/include/libavutil/samplefmt.h:22,
                 from /usr/local/include/libavcodec/avcodec.h:30,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:12,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:1:
/usr/local/include/libavutil/common.h: In function ‘int32_t 
av_clipl_int32_c(int64_t)’:
/usr/local/include/libavutil/common.h:173:47: error: ‘UINT64_C’ was not 
declared in this scope
In file included from 
/home/jeramboquai/OpenSceneGraph-3.0.1/include/osg/FrameStamp:22:0,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/include/osg/BufferObject:20,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/include/osg/Image:17,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/include/osg/AudioStream:17,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:12,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:1:
/usr/include/c++/4.6/ctime: At global scope:
/usr/include/c++/4.6/ctime:62:11: error: ‘::clock_t’ has not been declared
/usr/include/c++/4.6/ctime:63:11: In file included from 
/usr/local/include/libavutil/avutil.h:274:0,
                 from /usr/local/include/libavutil/samplefmt.h:22,
                 from /usr/local/include/libavcodec/avcodec.h:30,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegHeaders.hpp:12,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegClocks.hpp:10,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:9,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:1:
/usr/local/include/libavutil/common.h: In function ‘int32_t 
av_clipl_int32_c(int64_t)’:
/usr/local/include/libavutil/common.h:173:47: error: ‘UINT64_C’ was not 
declared in this scope
In file included from 
/home/jeramboquai/OpenSceneGraph-3.0.1/include/osg/FrameStamp:22:0,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/include/osg/BufferObject:20,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/include/osg/Image:17,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/include/osg/AudioStream:17,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.hpp:12,
                 from 
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:1:
/usr/include/c++/4.6/ctime: At global scope:
/usr/include/c++/4.6/ctime:62:11: error: ‘::clock_t’ has not been declared
/usr/include/c++/4.6/ctime:63:11: error: ‘::time_t’ has not been declared
/usr/include/c++/4.6/ctime:66:11: error: ‘::clock’ has not been declared
/usr/include/c++/4.6/ctime:67:11: error: ‘::difftime’ has not been declared
/usr/include/c++/4.6/ctime:68:11: error: ‘::mktime’ has not been declared
error: ‘::time_t’ has not been declared
/usr/include/c++/4.6/ctime:66:11: error: ‘::clock’ has not been declared
/usr/include/c++/4.6/ctime:67:11: error: ‘::difftime’ has not been declared
/usr/include/c++/4.6/ctime:68:11: error: ‘::mktime’ has not been declared
/usr/include/c++/4.6/ctime:69:11: error: ‘::time’ has not been declared
/usr/include/c++/4.6/ctime:70:11: error: ‘::asctime’ has not been declared
/usr/include/c++/4.6/ctime:71:11: error: ‘::ctime’ has not been declared
/usr/include/c++/4.6/ctime:72:11: error: ‘::gmtime’ has not been declared
/usr/include/c++/4.6/ctime:73:11: error: ‘::localtime’ has not been declared
/usr/include/c++/4.6/ctime:74:11: error: ‘::strftime’ has not been declared
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:
 In function ‘int osgFFmpeg::dec/usr/include/c++/4.6/ctime:69:11: error: 
‘::time’ has not been declared
/usr/include/c++/4.6/ctime:70:11: error: ‘::asctime’ has not been declared
/usr/include/c++/4.6/ctime:71:11: error: ‘::ctime’ has not been declared
/usr/include/c++/4.6/ctime:72:11: error: ‘::gmtime’ has not been declared
/usr/include/c++/4.6/ctime:73:11: error: ‘::localtime’ has not been declared
/usr/include/c++/4.6/ctime:74:11: error: ‘::strftime’ has not been declared
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:
 In function ‘int osgFFmpeg::decode_audio(AVCodecContext*, int16_t*, int*, 
const uint8_t*, int)’:
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:28:12:
 warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, 
AVPacket*)’ is deprecated (declared at 
/usr/local/include/libavcodec/avcodec.h:3727) [-Wdeprecated-declarations]
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:28:72:
 warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, 
AVPacket*)’ is deprecated (declared at 
/usr/local/include/libavcodec/avcodec.h:3727) [-Wode_audio(AVCodecContext*, 
int16_t*, int*, const uint8_t*, int)’:
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:28:12:
 warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, 
AVPacket*)’ is deprecated (declared at 
/usr/local/include/libavcodec/avcodec.h:3727) [-Wdeprecated-declarations]
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:28:72:
 warning: ‘int avcodec_decode_audio3(AVCodecContext*, int16_t*, int*, 
AVPacket*)’ is deprecated (declared at 
/usr/local/include/libavcodec/avcodec.h:3727) [-W
deprecated-declarations]
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:
 In member function ‘void osgFFmpeg::FFmpegDecoderAudio::open(AVStream*)’:
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:92:13:
 warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared 
at /usr/local/include/libavcodec/avcodec.h:3446) [-Wdeprecated-declarations]
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:92:44:
 warning: ‘int avcodec_open(AVCodecContext*, AVCodec*)’ is deprecated (declared 
at /usr/local/include/libavcodec/avcodec.h:3446) [-Wdeprecated-declarations]
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:
 In member function ‘size_t osgFFmpeg::FFmpegDecoderAudio::decodeFrame(void*, 
size_t)’:
/home/jeramboquai/OpenSceneGraph-3.0.1/src/osgPlugins/ffmpeg/FFmpegDecoderAudio.cpp:341:48:
 error: ‘INT64_C’ was not declared in this scope
make[2]: *** 
[src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/FFmpegDecoderAudio.o] Error 1
make[1]: *** [src/osgPlugins/ffmpeg/CMakeFiles/osgdb_ffmpeg.dir/all] Error 2
make: *** [all] Error 2

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





_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to