Problems when building own modules.

BlitzMax Forums/BlitzMax Programming/Problems when building own modules.

I've problems when trying to build own mods.
I created a module like documented.
Then I wrote a program to test it like:
Strict

AFunctionInsideTheModule ( )
But there was an error, because it didn't found the function ("Identifier 'AFunctionInsideTheModule' not found.")
So I wrote the this:
Strict

Import ModuleScope.ModuleName

AFunctionInsideTheModule ( )
Here the error was "Can't find interface for module 'ModuleScope.ModuleName'."
I tried 'Build Modules' and 'Rebuild All Modules', but it didn't help.
Also I noticed that bmk doesn't document the modules.

Thanks for help.

Make sure you make your module directories lower case ( the actual directories, not the code that refers to them. The code that imports them is not even case sensitive. ) For some reason, upper case folders don't get recognised for modules.

Thanks a lot, it works when writing all directory names lower cased!

But, doesn't anyone know, when will bmk support upper case names?
Or won't it do so at all?

And what about the docs?
How can I make bmk document my modules?

Fabian,

Don't use bmk. Use:
docmods makedocs modulescope.modulename
docmods syncdocs

this'll generate the docs and then update them.
just went through this myself ;-)