Maxgui does not work - why?
BlitzMax Forums/MaxGUI Module/Maxgui does not work - why?
| ||
Hi, I installed from scratch Blitzmax 1.30, and then i copied the MaxGUI 1.30 mod directory to the program folder. (all on windows xp) Looks like this: C:\Program Files\BlitzMax\mod\maxgui.mod and there are the folders maxgui.mod, win32maxgui.mod and so on. But if I try to compile this: i get: Compile Error - Identifier 'TGadget' not found. What could be wrong? Thanks in advance, Gregor Ps.: The same procedere, but with the blitz3dsdk mod works, but maxgui not. pps.: please ignore my bad english *g* |
| ||
I just had the same problem. You need to add "Import MaxGUI.Drivers" after "strict", but before any GUI calls (i.e., at the top, in your example). |
| ||
Ah, fine! Thank you! The examples delivered with blitzmax should be updated then ;) |
| ||
The examples delivered with blitzmax should be updated then They should all be corrected... If you find one that isn't, then please do let us know. I thought sliderthing was the only sample that suffered from this problem, but this has since been fixed in the BlitzMax SVN repository. |
| ||
None of the MaxGUI tutorials feature the "Import MaxGUI.Drivers" call, as far as I can tell. Might be worth adding - I had to do some digging to find the solution. |
| ||
Maybe its already in the svn, but i dont have the time to try out using the svn things. ;) But with this information it all should go okay with the official builds. |
| ||
Glad someone already brought this up. It should definitely be documented in the changes for 1.30 somehow. |