Hey, I can answer my own question! After a lot of fiddling around, I have come up with the procedure:
NOTE: This is for Wascana 0.9.3 and a Sep 2008 SVN version of FFMPEG.
Prepare Environment
After installing Wascana, you'll need to update various MinGW and MSYS packages. Download and unpack the following (you can download them from the MinGW website):
MSYS packages:
- bash-3.1
- coreutils-5.97
- m4-1.4.7
- make-3.81
MinGW packages:
- w32api-3.12
- MinGW Runtime 3.15
Build
- Unpack the FFMPEG source code and configure like so (do not compile it yet):
./configure --enable-memalign-hack --disable-shared --enable-static --disable-mmx --disable-mmx2 --disable-optimizations --disable-stripping
- Launch Wascana/Eclipse and create a new C project.
- Do not select "Hello World" project, just select a Makefile project and select the MinGW toolchain.
- Set the project path to wherever your FFMPEG source code is.
- Click finish and the source should build itself!
Install
- Right click the project and select Make Targets > Create.
- In the dialog, set both the Make Target and Target name to "install".
- Run the target you just created. This will install the FFMPEG libraries.
Execute and Debug
- Open the Debug Dialog
- Right-click on "C/C++ Local Application" and choose "New"
- Fill in the project name and select the EXE you want to run (in my case, ffplay_g.exe)
- Go to the debugger tab and change the debugger to "MinGW gdb Debugger"
I also had to make sure a copy of SDL.dll was in the ffmpeg directory.
Phew, what an ordeal. That all worked for me, hopefully it will work for you too!