gpt4 book ai didi

Xuggler 编译失败。

转载 作者:行者123 更新时间:2023-12-03 22:16:00 33 4
gpt4 key购买 nike

我没有找到适用于 WINDOWS 或 LINUX 平台的预编译二进制文件,我正在尝试构建从 github 克隆的 Xuggler 代码库。我正在按照链接中给出的步骤操作:http://www.xuggle.com/xuggler/build

我遇到如下编译错误。有人可以帮我解决遗漏的问题吗?所有构建环境的先决条件都得到了照顾。

     [exec]   CXX    AudioResampler.lo
[exec] CXX AudioSamples.lo
[exec] CXX Codec.lo
[exec] ../../../../../../../csrc/com/xuggle/xuggler/Codec.cpp: In member function 'virtual bool com::xuggle::xuggler::Codec::canDecode()':
[exec] ../../../../../../../csrc/com/xuggle/xuggler/Codec.cpp:158:38: error: converting 'false' to pointer type 'int (*)(AVCodecContext*, void*, int*, AVPacket*)' [-Werror=conversion-null]
[exec] ../../../../../../../csrc/com/xuggle/xuggler/Codec.cpp: At global scope:
[exec] ../../../../../../../csrc/com/xuggle/xuggler/Codec.cpp:26:1: error: 'vs_logger_static_context' defined but not used [-Werror=unused-variable]
[exec] cc1plus: all warnings being treated as errors
[exec] make[6]: *** [Codec.lo] Error 1
[exec] make[5]: *** [all-recursive] Error 1
[exec] make[4]: *** [all] Error 2
[exec] make[3]: *** [all-recursive] Error 1
[exec] make[2]: *** [all-recursive] Error 1
[exec] make[1]: *** [all-recursive] Error 1
[exec] make: *** [all-recursive] Error 1
[exec] make[6]: Leaving directory `/home/anilj1/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler'
[exec] make[5]: Leaving directory `/home/anilj1/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler'
[exec] make[4]: Leaving directory `/home/anilj1/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle/xuggler'
[exec] make[3]: Leaving directory `/home/anilj1/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com/xuggle'
[exec] make[2]: Leaving directory `/home/anilj1/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc/com'
[exec] make[1]: Leaving directory `/home/anilj1/xuggle-xuggler/build/native/x86_64-unknown-linux-gnu/csrc'

BUILD FAILED
/home/anilj1/xuggle-xuggler/mk/buildtools/buildhelper.xml:1192: exec returned: 2

Total time: 18 minutes 30 seconds

有人还可以帮助在哪里找到适用于 WINDOWS 的预编译 XUGGLER 二进制文件吗?

最佳答案

各位,

所以我终于能够成功构建 Xuggler 构建。这是一个编译器版本问题。我已经安装(凭借 apt-get install build-essential)最新版本的 gcc(4.7 版),它抛出了以下所有错误。

我将我的系统降级到 4.4 版,它可以正常工作。我本可以选择 4.6 或其他版本,但现在我想它不是必需的。

/阿尼​​尔。

关于Xuggler 编译失败。,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17561768/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com