My program compiles nicely but I'm getting errors when trying to launch the program's .exe file.
Windows flags: Application was unable to start correctly (0xc01500002).
I tried using gdb to see what was happening and this is what I'm left with:
Starting program: <dir>\program.exe
[New thread 544.0xd30 ]
Error: dll starting at 0x77150000 was not found.
Error: dll starting at 0x75d70000 was not found.
Error: dll starting at 0x77150000 was not found.
Error: dll starting at 0x77270000 was not found.

Program exited with code 0300005200002.
You can't do that without a process to debug.


I'm using the provided MinGW and gdb by trolltech; downloaded MinGW-gcc440_1.zip from ftp://ftp.trolltech.com/misc/.
What could be causing this? TIA.