-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Build is failing with error "./libvpx.a: archive has no index; run ranlib to add one" #19
Comments
I've found this too. The last time this project had active contributions I know about was last year so I tried building from this image instead: FROM trzeci/emscripten:1.38.48 This should solve the problem. |
Gonna re-open this. @willmorgan fixed the build issue by pinning to a specific Emscripten release, which is great. But ideally I should bring the code base up-to-date, but currently just don’t have the time to investigate. |
@willmorgan Thanks for the hint! @surma Any rough idea where to look into? Then I could try to fix it too. |
My hunch is that the dependencies need updating, too. But not sure. |
Ok, I'll have a look. |
FWIW you can upgrade to libvpx 1.9.0 with no issues as I happen to be doing the same 😁 |
Found another issue. The image
|
I'm now experimenting using emsdk:2.0.26. Community wisdom suggested that this was a good starting point:
It does seem that AR is a thing: https://github.com/webmproject/libvpx/blob/705bf9de8c96cfe5301451f1d7e5c90a41c64e5f/build/make/configure.sh#L497 Calling This got me further:
I could run emcc but I guess I need to update the command and the program structure to conform to the updated Emscripten config. I will keep experimenting and report back with a PR if I am successful - the end goal for me is to look at building this with SIMD and seeing what happens. Edit: It seems that you still get a libvpx.a which you might be able to use... if you run |
Unfortunately, the build is currently failing with the following error message:
Maybe something has changed in the
emsdk
. Any ideas how to fix this error?I've searched already for this error and found only this comment emscripten-core/emscripten#9329 (comment) but with my modest
make/configure
skills I couldn't figure out yet if there is an issue with thear
settings. Upgrading to the latest libvpx version also didn't help. Same error.The text was updated successfully, but these errors were encountered: