Trying to compile MaxIDE-NG: TTimerFactory missing in timer.bmx

BlitzMax Forums/BlitzMax NG/Trying to compile MaxIDE-NG: TTimerFactory missing in timer.bmx

Sub_Zero(Posted May) [#1]
Trying to compile using Blitzmax-ng latest buld:

[ 82%] Processing:timerdefault.bmx
Compile Error: Type 'ttimerfactory' not found
[/home/megi386/BlitzMaxNG/mod/brl.mod/timerdefault.mod/timerdefault.bmx;87;0]
Build Error: failed to compile /home/megi386/BlitzMaxNG/mod/brl.mod/timerdefault.mod/timerdefault.bmx


In timerdefault.bmx:

Type TDefaultTimerFactory Extends TTimerFactory
	
	Method GetName:String()
		Return "DefaultTimer"
	End Method
	
	Method Create:TTimer(hertz#,event:TEvent=Null)
		Return TDefaultTimer.Create( hertz,event )
	End Method
		
End Type

New TDefaultTimerFactory


TTimerFactory seems to be missing from timer.mod: timer.bmx


Derron(Posted May) [#2]
You should consider using the latest brl.mod for bmx-ng
https://github.com/bmx-ng/brl.mod
https://github.com/bmx-ng/pub.mod

my timer.mod/timer.bmx contains that TTimerFactory
and timerdefault.mod/timerdefault.bmx contains TDefaultTimerFactory

isn't this the case in yours?

Did you properly rebuild the modules first?


bye
Ron


Sub_Zero(Posted May) [#3]
I rewrote frisky for windows to fit on linux...

Sorry, I thought frisky cloned the latest bmax-ng brl.mod .. !


Sub_Zero(Posted May) [#4]
Actually, it did, but my own stupidity adding mods into the Default folder didn't actually pay off, lol!

Wich actually got copied over after the git clone:
'Copy a default BlitzMax directory over
Print "Moving default BlitzMaxNG folder... This may take several minutes."

CopyFolder(friskyDir+"/Default",dumpDir) 


Thanks, derron