views:

713

answers:

1

Hello All,

I am trying to build ffmpeg for windows (Xp - SP2) as given 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 placed in a 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 was not able to succeed.

My environment is Win XP with:

  • MinGW-5.1.6,
  • bash-2.05b-MSYS,
  • MSYS-1.0.10,
  • ffmpeg-0.5

EDIT:

After certain changes in the above command by referring howto i was able to successfully run the make command and i found the following DLL's in their respective directory

  • ffmpeg\libavcodec\avcodec-51.dll
  • ffmpeg\libavformat\avformat-51.dll
  • ffmpeg\libavutil\avutil-49.dll

But i didn't see any ffmpeg\ffmpeg.exe file :(

Googling isn't fruitful.

What could have gone wrong?

+2  A: 

Ramiro's FFmpeg for Windows site gives much better step by step instructions, and has a community forum that you can ask questions on if the Wiki doesn't answer your question already.

Xuggle