-
Notifications
You must be signed in to change notification settings - Fork 682
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
Latest (3.x) emscripten vs 2.x, broken build scripts/libs/headers? #1331
Comments
We try not to break existing code unless there is good reason. Perhaps you could file individual issues with details of the specific problems you ran into and we can try to address them individually. For the |
For the |
I think that might be the difference in 2.x and 3.x it detects the platform differently maybe? |
also forgot to mention I tried to build on the latest Ubuntu too, same issue |
Between 2.0.16 and 3.0.0 there were over 1000 changes so its hard to say what might be causing your issues. Perhaps we can address them specifically one by one. In order to reproduce do we just follow the instructions at https://dev.to/alfg/ffmpeg-webassembly-2cbl? |
yes, the only difference is you need to give the dirs to nm and ranlib (if not part of environment, which they're not by default) -ranlib="$EMSDK/upstream/bin/llvm-ranlib" |
Hi,
I've tried to compile ffmpeg with emscripten using this guide: https://dev.to/alfg/ffmpeg-webassembly-2cbl using MSYS2
I've used the latest version of both.
It took a few hours of patches to go through compilation of it with emscripten 3.x, starting from missing -nologo in clang and ending with multiple missing functions, links and other stuff during compilation like gethrtime and so on...
with emscripten 2.0.16 it didn't had many issues except one hand patch for missing shutil.which('mingw32-make') (it was using tools.building.which)
Is there a reason so many issues are in the current version, will they get fixed or it's because backwards compatibility was lost?
Couldn't find no information on things like missing nologo (is it a Microsoft only thing?), had to edit the py file to strip the argument
Thanks
The text was updated successfully, but these errors were encountered: