Error building modules, help please!

BlitzMax Forums/BlitzMax Beginners Area/Error building modules, help please!

When I press Ctrl+D in the IDE I get:

Building Modules
Compiling:blitz_app.c
Build Error: failed to compile C:/Programming/BlitzMax/mod/brl.mod/blitz.mod/blitz_app.c
Process complete


Anyone have any ideas, I want to compile the MiniB3d into a module but I cant because it stops here. Unless there is another way of doing it.

um, Is "Build Modules" disabled in the program menu?

if it is you probably dont have MinGW installed correctly.

it is, ah will have a look at MinGW

else you could compile the mod only by using the commandline of windows.

Change to your BMAX\bin folder: and type this:
bmk makemods -a sidesign.minib3d

this should compile the module without the need of MINGW (MinGW is only needed when compiling c sources etc)

Also bear in mind that you don't have to rebuild ALL modules just to build one.

Just open a command prompt, navigate to your BlitzMax\Bin folder and type

bmk makemods foldername.modulename

eg :

bmk makemods pub.lua
bmk makemods brl.blitz

Thanks klepto forgot about that one :)