mingw - MinGW 中的 libvpx : Bad file number

标签 mingw libvpx

我尝试使用 ./configure --target=x86-win32-gcc --enable-static-msvcrt --prefix=/MinGW 在 MinGW 上编译 libvpx 并收到此错误:

[STRIP] libgtest.a < libgtest_g.a
/bin/sh: /mingw/bin/strip: Bad file number
make[1]: *** [libgtest.a] Error 126
make: *** [.DEFAULT] Error 2

有什么想法可以解决这个问题吗?我已经尝试了 git 上最新的 libvpx 和它的 1.2.0 版本,都给了我这个错误。

最佳答案

对于 win32 上的 libvpx 1.3,现有答案对 win32 没有帮助(--disable-unit-tests 对 macOS 有帮助)。 使用此补丁:libvpx-makefile.diff我可以解决脱衣问题(日语页面:compilation and installation of libvpx (v1.0.0 or later))。此处记录了另一个解决方案:Building libvpx in MinGW 。 但后来我陷入了 strtok_s 链接错误,我已经通过内联解决了 this public domain version

关于mingw - MinGW 中的 libvpx : Bad file number,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20085443/

相关文章:

c++ - 无法找到过程入口点 __gxx_personality_v0

c - 将结构写入二进制文件,然后读取文件并打印数据。

c++ - to_string 不是 std 的成员,g++ (mingw) 说

c++ - 如何防止在 argv 中丢失双引号?

适用于 armv7、armv7s、arm64 的 iOS 开源构建

compiler-errors - 在 libvpx 上的 Ubuntu 14.04 LTS 上安装 FFmpeg 失败

linux - 构建 libvpx 时 undefined reference

python - 安装枕头 - 错误 : ld returned 1 - windows

ffmpeg VP9 - 质量设置有什么变化?

encoding - VP9 编码限制为 4 个线程?