I cannot build the minib3d module

BlitzMax Modules Forums/MiniB3D/I cannot build the minib3d module

I copyed it on the mod folder and when I press CTRL+D I get this message:
Building Modules
Compiling:blitz_app.c
Build Error: failed to compile C:/Program Files/BlitzMax/mod/brl.mod/blitz.mod/blitz_app.c
Process complete

Would anyone be kind to tell me wath to do?
Oh also... how do I use MySQL with Bmax?

have you got the mingw compiler installed?

No... wath's that?

You need it to compile C code. See here for how to install:

http://www.blitzbasic.com/Community/posts.php?topic=53442

Okay... so I downloaded the MinGW compiler I installed it and set the Envoirment variabiles exacly like it tells there but I still get that error