ffmpeg.wasm
ffmpeg.wasm copied to clipboard
Build my own FFmpeg failure
Describe the bug Build my own FFmpeg failure. Below here is the error message
failed: [Errno 2] No such file or directory: './configure'
emconfigure: error: './configure --prefix=/Users/stephen.kingsley/Documents/code/test/ffmpeg.wasm-core/build --host=i686-gnu --enable-static --disable-cli --disable-asm "--extra-cflags=-O3 -I/Users/stephen.kingsley/Documents/code/test/ffmpeg.wasm-core/build/include -s USE_PTHREADS=1"' failed: [Errno 2] No such file or directory: './configure'
To Reproduce Steps to reproduce the behavior:
- $ git clone https://github.com/ffmpegwasm/ffmpeg.wasm-core
- $ git submodule update --init --recursive
- $ bash build-with-docker.sh
Screenshots
Desktop (please complete the following information):
- OS: M1 mbp
Check whether there is an empty directory under your third_party directory
I tried compiling in WSL2 on windows 10 and faced same issue.
In my case the problem was that git was changing LF to CRLF line ending which made configure
script work abnormally.
Try disabling autocrlf with git config --global core.autocrlf input
and clone this repo again.
Same here,
With W11/docker-WSL2 I need download the repo with the option --config core.autocrlf=input
as suggested here
Adding *.sh text eol=lf
to .gitattributes could solve the issue