acxz / gazebo-arch

A collection of Arch Linux PKGBUILDS for the Gazebo Simulator
18 stars 11 forks source link

[gazebo(-git)] ‘AV_CODEC_CAP_TRUNCATED’ was not declared #57

Closed acxz closed 1 year ago

acxz commented 1 year ago
/home/acxz/.cache/yay/gazebo-git/src/gazebo/gazebo/common/AudioDecoder.cc:368:35: error: ‘AV_CODEC_CAP_TRUNCATED’ was not declared in this scope; did you mean ‘AV_CODEC_CAP_SUBFRAMES’?
  368 |   if (this->codec->capabilities & AV_CODEC_CAP_TRUNCATED)
      |                                   ^~~~~~~~~~~~~~~~~~~~~~
      |                                   AV_CODEC_CAP_SUBFRAMES
/home/acxz/.cache/yay/gazebo-git/src/gazebo/gazebo/common/AudioDecoder.cc:369:30: error: ‘AV_CODEC_FLAG_TRUNCATED’ was not declared in this scope; did you mean ‘AV_CODEC_FLAG_DROPCHANGED’?
  369 |     this->codecCtx->flags |= AV_CODEC_FLAG_TRUNCATED;
      |                              ^~~~~~~~~~~~~~~~~~~~~~~
      |                              AV_CODEC_FLAG_DROPCHANGED
make[2]: *** [gazebo/common/CMakeFiles/gazebo_common.dir/build.make:104: gazebo/common/CMakeFiles/gazebo_common.dir/AudioDecoder.cc.o] Error 1