Gazebo Build Fails

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

Gazebo Build Fails

Hunter Allen
I am having trouble building Gazebo. The error has something to do with libavcodec. I don't know what's wrong here... Here's the error:


allenh1@allenh1-Vostro-430:~/Gazebo/build$ make
[ 38%] Built target assimp
[ 41%] Built target gazeboshm
[ 48%] Built target gazebo_rendering
[ 56%] Built target gazebo_physics
[ 62%] Built target gazebo_physics_ode
[ 87%] Built target gazebo_server
[ 87%] Building CXX object server/audio_video/CMakeFiles/gazebo_av-shared.dir/AudioDecoder.o
In file included from /usr/local/include/libavutil/avutil.h:96:0,
                 from /usr/local/include/libavcore/avcore.h:27,
                 from /usr/local/include/libavcore/samplefmt.h:22,
                 from /usr/local/include/libavcodec/avcodec.h:30,
                 from /usr/include/libavformat/avformat.h:56,
                 from /home/allenh1/Gazebo/server/audio_video/AudioDecoder.hh:36,
                 from /home/allenh1/Gazebo/server/audio_video/AudioDecoder.cc:33:
/usr/local/include/libavutil/common.h: In function ‘int32_t av_clipl_int32_c(int64_t)’:
/usr/local/include/libavutil/common.h:168:47: error: ‘UINT64_C’ was not declared in this scope
/home/allenh1/Gazebo/server/audio_video/AudioDecoder.cc: In member function ‘int AudioDecoder::Decode(uint8_t**, unsigned int*)’:
/home/allenh1/Gazebo/server/audio_video/AudioDecoder.cc:104:22: warning: ‘int avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, const uint8_t*, int)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3594)
/home/allenh1/Gazebo/server/audio_video/AudioDecoder.cc:105:49: warning: ‘int avcodec_decode_audio2(AVCodecContext*, int16_t*, int*, const uint8_t*, int)’ is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:3594)
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