


























Latest build failed for 1.3.1-1
/usr/include/libavutil/common.h:30:2: error: #error missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS
30 | #error missing -D__STDC_CONSTANT_MACROS / #define __STDC_CONSTANT_MACROS
| ^~~~~
make[2]: *** [CMakeFiles/ffmpeg_encoder_plugin.dir/build.make:79: CMakeFiles/ffmpeg_encoder_plugin.dir/av1_encoder.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:109: CMakeFiles/ffmpeg_encoder_plugin.dir/all] Error 2
make: *** [Makefile:91: all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
@kikibase Thank you for your feedback. I have now switched to "cmake --build".
Hey, can there be a change to the build function please.
build() {
cd "$srcdir/ffmpeg_encoder_plugin-$pkgver"
cmake -DCMAKE_BUILD_TYPE=Release .
cmake --build .
}
using "cmake --build" will allow other build systems to work as some people may have different ones, such as mine that uses Ninja.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。
@apex-a This is fixed in version 1.3.2-1, and the plugin can now be compiled with the recently released GCC 16.