How to make a module?

BlitzMax Forums/BlitzMax Programming/How to make a module?

That worked, thanks, it builds and I get four files :

mymodule.release.win32.x86.a
mymodule.release.win32.x86.i
mymodule.debug.win32.x86.a
mymodule.debug.win32.x86.i

I still have a problem..
If I now try to build a program that uses my module it does not reconize any functions that was in my module?

I tried to import pub.mymodule in a test file and when I compile I get the error "Cannot find interface for pub.mymodule"

I went to my "main" file, called mymodule.bmx. I tried to build it from the IDE and got the compile error "Module does not match commandline module"

Does anyone know what I have missed?