[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版本,都给了我这个错误。
发布于 2014-01-16 17:56:57
对于win32上的libvpx1.3,现有的答案在单元测试上都没有帮助(-- win32 -unit-test在macosx上有帮助)。有了这个补丁:libvpx-makefile.diff,我就可以克服条带问题(日语页面:compilation and installation of libvpx (v1.0.0 or later))。另一种解决方案记录在这里:Building libvpx in MinGW。但是后来我遇到了strtok_s链接错误,我已经通过内联this public domain version解决了这个问题
发布于 2014-01-03 23:10:04
通过将‘--disable- unit -test’传递给configure来禁用单元测试,应该可以帮助您完成编译。使用libvpx-1.2.0进行了测试。
https://stackoverflow.com/questions/20085443
复制相似问题