Recompiling a MOD

BlitzMax Forums/BlitzMax Beginners Area/Recompiling a MOD

thalamus(Posted 2007) [#1]
I've made some changes to the MaXML mod, but I'm having trouble recompiling the Module (specifically, I'm getting "Compile Error: Module does not match commandline module").

Any pointers? Or is there someone out there who can recompile it for me? :)


Gabriel(Posted 2007) [#2]
You can't build a module in MaxIDE. You have to build it from the commandline ( bmk makemods pub.maxml ) ( I guess it's in pub? whatever namespace it's in, use that! )

Or you can build it from within Blide.

If C code is involved you'll need MinGW installed to. Check the thread in Module Tweaks for instructions on that.


Perturbatio(Posted 2007) [#3]
You can't build a module in MaxIDE.


Huh?

Program->Build Modules...


Gabriel(Posted 2007) [#4]
You can build ALL modules. You can't build A module ;)

The error he reported is the error you get if you load the main bmx of a module and hit compile. So it occurred to me that he may have been doing that.


thalamus(Posted 2007) [#5]
I was doing it from the command line, but this:

bmk makemods pub.maxml

...is what did the trick. Cheers Gabriel :)


Perturbatio(Posted 2007) [#6]
You can build ALL modules. You can't build A module ;)


Ok, I'll let you off with that one :)

*EDIT*

Of course, if you enable Quick Build, it only builds the one's that have changed...


Brucey(Posted 2007) [#7]
Of course, if you enable Quick Build, it only builds the one's that have changed...

Except that Quick Build only affects App compiling, not modules.

Building Modules will always only build the ones that have changed - Very useful for those out there that tend to build modules a lot.... whomever you are.


TaskMaster(Posted 2007) [#8]
BLIde can build a single module while editting it.


Perturbatio(Posted 2007) [#9]
Except that Quick Build only affects App compiling, not modules.


Meh, I just assumed it was a result of quick build being enabled.