Error building modules, help please!

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

*(Posted 2007) [#1]
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.


REDi(Posted 2007) [#2]
um, Is "Build Modules" disabled in the program menu?

if it is you probably dont have MinGW installed correctly.


*(Posted 2007) [#3]
it is, ah will have a look at MinGW


klepto2(Posted 2007) [#4]
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)


Gabriel(Posted 2007) [#5]
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


*(Posted 2007) [#6]
Thanks klepto forgot about that one :)