How to compile MaxIDE?

BlitzMax Forums/BlitzMax Programming/How to compile MaxIDE?

NeuralizR(Posted 2007) [#1]
I have MaxGUI (installed). I go to compile MaxIDE that's included with BlitzMax and it gives me the error:
"""
Compile Error
Identifier 'EventID' not found
"""

line 560 in maxide.bmx:
id=EventID()

EventID() is part of BRL.EventQueue, one of the standard modules.

I did a basic search on the forums for a how to or whatever and really only found information on other IDEs or using the CE.

Really, I'm just looking to recompile with some of the menu modifiers changed, but I need to be able to compile it with no changes first. :)


GfK(Posted 2007) [#2]
The source uses Framework and Import - the BRL.EventQueue module is not being imported for some reason.

Add "Import brl.eventqueue" somewhere below the Framework command (with the rest of the imports) and that should sort it.

Its probably the case that the EventID() function used to be in a different module and got moved to BRL.EventQueue at some point.


NeuralizR(Posted 2007) [#3]
Durrrr.... thanks a bunch. That worked. *sigh* Sometimes I just can't see stuff that's right in front of me. ;) Should always assume the simplest thing first.

Thanks again.