Hey, i'm trying to create a game engine module to throw all my useful code into, and just call routines from that.
I've taken a good look at a few modules i've downloaded and compiled, and even BRL's module, and some tutorials aswell.
Yet I'm having a problem!
This minimum code below is a test of my engine. To see if it compiles and everything:
Sure enough, it compiles first time, the location of this GE.bmx is "BlitzMax/mods/Yah.mod/GE.mod"
Now I want to test it of course, so another minimal app to test it...:
Now I get an error?? what?? Does anyone know what I did wrong?
The error:
Compile Error
Can't find interface for module 'yah.ge'
Also strange: It doesnt show up on the right under third party modules.
Additional info:
I have all my MinGW system path vars set up, and the correct version as per the sticky in the Module Tweaks section of the forums.
I've taken a good look at a few modules i've downloaded and compiled, and even BRL's module, and some tutorials aswell.
Yet I'm having a problem!
This minimum code below is a test of my engine. To see if it compiles and everything:
SuperStrict Rem bbdoc: Yahfree's Game Engine about: Handy functions stored in one place EndRem Module Yah.GE ModuleInfo "Name: Yahfree's Game Engine" ModuleInfo "Description: Useful code to reduce repetive junk" ModuleInfo "License: Public Domain" ModuleInfo "Authors: Yahfree" Import BRL.Random Import BRL.StandardIO Rem bbdoc: test function about: Prints a random number between 10 and 20 returns: Nothing EndRem Function ModTestFunction() Print Rand(10,20) End Function
Sure enough, it compiles first time, the location of this GE.bmx is "BlitzMax/mods/Yah.mod/GE.mod"
Now I want to test it of course, so another minimal app to test it...:
Import Yah.GE SeedRnd MilliSecs() ModTestFunction() End
Now I get an error?? what?? Does anyone know what I did wrong?
The error:
Compile Error
Can't find interface for module 'yah.ge'
Also strange: It doesnt show up on the right under third party modules.
Additional info:
I have all my MinGW system path vars set up, and the correct version as per the sticky in the Module Tweaks section of the forums.