-
-
Notifications
You must be signed in to change notification settings - Fork 335
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
FIX: build for emcc 2.0.9 #149
base: master
Are you sure you want to change the base?
Conversation
non-executable file extension to produce object files instead of javascript files
&& \ | ||
emmake make -j && \ | ||
cp ffmpeg ffmpeg.bc | ||
emmake make -j EXESUF=.bc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I recommend using .o
since this is not necessarily a bitcode file
&& \ | ||
emmake make -j && \ | ||
cp ffmpeg ffmpeg.bc | ||
emmake make -j EXESUF=.bc |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When emconfigure
is use emmake
is not necessary. All the emscripten-specific details will be encoding into the autoconf-generated makefile. emmake
is for normal non-autoconf-based Makefiles
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What should this line be changed to then?
I use erisco:master branch , but still get error nm: /tmp/ffconf.bMB3JO1u/test.o: file format not recognized
ERROR: libx264 not found
If you think configure made a mistake, make sure you are using the latest
version from Git. If the latest version fails, report the problem to the
[email protected] mailing list or IRC #ffmpeg on irc.freenode.net.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
make: *** [Makefile:203: build/ffmpeg-mp4/ffmpeg.bc] Error 1 |
Do you know who is running |
it seems that the error It should be the error Line 113 in d908a4e
perhaps you didn't fetch the submodules or there's something wrong with that part of Makefile? |
Somewhere in your build system |
I have new problem with em3(latest), could you help me to check it? @sbc100
|
Can share the full command line used to build both |
Thanks for your reply! The build command for libopus and libmp3lame are same as the Kagami's version and works fine in very old em. |
After trying 2.0.11, I got:
Then I tried em2.0.1 and I got Now I'm so confused... |
Emscripten is in 3.0.1 these days. Can you try with this latest version? |
@sbc100 this is from latest version When I use the Kagami's em version then I got After removed libwebp, still get same errors. |
FIX: build for emcc 2.0.9, -r linking flag is required and a non-executable file extension to produce object files instead of
javascript files