I am trying to build ffmpeg for windows (Xp - SP2) as indicated here .
./configure -–extra-cflags="-mno-cygwin -mms-bitfields" -–extra-ldflags="-Wl, -add-stdcall-alias" -–enable-memalign-hack -–enable-shared -–disable-static -–target-os=mingw32
The above command is put into the myconfig file as instructed, and when I run ./myconfig , the following error is displayed:
Broken Shell detected. Trying alternatives. Trying Shell bash Unknown option "-–extra-cflags=-mno-cygwin".
As suggested in the link, I tried various options, but still I could not succeed.
My environment is Win XP with:
- MinGW-5.1.6,
- bash -2.05b-MSYS,
- MSYS-1.0.10,
- Ffmpeg-0.5
EDIT:
After some changes to the above command, contacting howto , I was able to successfully execute the make command, and I found the following DLL in the corresponding directory
- FFmpeg \ codec \ avcodec-51.dll
- Ffmpeg \ libavformat \ avformat-51.dll
- Ffmpeg \ libavutil \ avutil-49.dll
But I did not see the ffmpeg \ ffmpeg.exe file: (
What could have gone wrong?
source share