gazebo not building at AudioDecoder.o

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

gazebo not building at AudioDecoder.o

dasmar
Hello,

I am running ubuntu 10.04 and recently tried to build gazebo 0.10.0.
Everything builds fine until I get up to 93% where the AudioDecoder.o is
being built and an error occurs as follows. I had this same problem when
running under ubuntu 9.04 and thought that maybe by upgrading this problem
might magically disappear but I was wrong. Can anyone help? Thank you,

[ 93%] Building CXX object
server/audio_video/CMakeFiles/gazebo_av-shared.dir/AudioDecoder.o
In file included from
/home/daniel/D_3rdpartysoftware/gazebo-0.10.0/server/audio_video/AudioDecoder.hh:36,
                 from
/home/daniel/D_3rdpartysoftware/gazebo-0.10.0/server/audio_video/AudioDecoder.cc:33:
/usr/include/libavformat/avformat.h:164:1: warning: "PKT_FLAG_KEY" redefined
In file included from /usr/include/libavformat/avformat.h:45,
                 from
/home/daniel/D_3rdpartysoftware/gazebo-0.10.0/server/audio_video/AudioDecoder.hh:36,
                 from
/home/daniel/D_3rdpartysoftware/gazebo-0.10.0/server/audio_video/AudioDecoder.cc:33:
/usr/local/include/libavcodec/avcodec.h:991:1: warning: this is the location
of the previous definition
In file included from
/home/daniel/D_3rdpartysoftware/gazebo-0.10.0/server/audio_video/AudioDecoder.hh:36,
                 from
/home/daniel/D_3rdpartysoftware/gazebo-0.10.0/server/audio_video/AudioDecoder.cc:33:
/usr/include/libavformat/avformat.h:117: error: redefinition of ‘struct
AVPacket’
/usr/local/include/libavcodec/avcodec.h:942: error: previous definition of
‘struct AVPacket’
/usr/include/libavformat/avformat.h:163: error: invalid type in declaration
before ‘;’ token
/usr/include/libavformat/avformat.h:163: error: conflicting declaration
‘typedef int AVPacket’
/usr/local/include/libavcodec/avcodec.h:988: error: ‘AVPacket’ has a
previous declaration as ‘typedef struct AVPacket AVPacket’
/usr/include/libavformat/avformat.h: In function ‘void
av_free_packet(AVPacket*)’:
/usr/include/libavformat/avformat.h:211: error: ‘void
av_free_packet(AVPacket*)’ was declared ‘extern’ and later ‘static’
/usr/local/include/libavcodec/avcodec.h:2863: error: previous declaration of
‘void av_free_packet(AVPacket*)’
/home/daniel/D_3rdpartysoftware/gazebo-0.10.0/server/audio_video/AudioDecoder.cc:
In member function ‘int AudioDecoder::Decode(uint8_t**, unsigned int*)’:
/home/daniel/D_3rdpartysoftware/gazebo-0.10.0/server/audio_video/AudioDecoder.cc:104:
warning: ‘int avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, const
uint8_t*, int)’ is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:3290)
/home/daniel/D_3rdpartysoftware/gazebo-0.10.0/server/audio_video/AudioDecoder.cc:105:
warning: ‘int avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, const
uint8_t*, int)’ is deprecated (declared at
/usr/local/include/libavcodec/avcodec.h:3290)
make[2]: ***
[server/audio_video/CMakeFiles/gazebo_av-shared.dir/AudioDecoder.o] Error 1
make[1]: *** [server/audio_video/CMakeFiles/gazebo_av-shared.dir/all] Error
2
make: *** [all] Error 2



Daniel
------------------------------------------------------------------------------
_______________________________________________
Playerstage-gazebo mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo