Threaded MaxGUI

BlitzMax Forums/MaxGUI Module/Threaded MaxGUI

Hezkore(Posted 2010) [#1]
Whenever I try to build an MaxGUI example in Threaded mode I get:
Compile Error: Can't find interface for module 'maxgui.drivers'
Build Error: failed to compile C:/Program Files (x86)/BlitzMax/mod/maxgui.mod/maxgui.mod/doc/canvasbeginpaint.bmx

Is MaxGUI simply not working in threaded mode?


TaskMaster(Posted 2010) [#2]
Have you compiled the maxgui mod threaded yet?


Hezkore(Posted 2010) [#3]
Yeah i tried, but it spits out Can't find interface for module 'maxgui.Localization'... And Localization.mod is compiled threaded.


Volker(Posted 2010) [#4]
Is your directory structure for maxgui correct?

"The MaxGUI modules are in this folder structure :

maxgui.mod
- drivers.mod
- maxgui.mod
...

Place the maxgui.mod folder into the following location :

BlitzMax/mod/

So, if you have BlitzMax installed (on Windows) in C:\Program Files, a typical path might look like :

C:\Program Files\BlitzMax\mod\maxgui.mod\drivers.mod"


Hezkore(Posted 2010) [#5]
Yep everything should be in order, the error only happens when I build in Threaded mode.


Hezkore(Posted 2010) [#6]
Hmm the problem still exists, feels like I've tried everything :/


xlsior(Posted 2010) [#7]
Did you (re)build the maxgui module in threaded mode?

From the commandline, from within your blitzmax/bin folder:

bmk makemods -a -h maxgui

(the '-a' tells it to rebuild whether it thinks it needs to or not, and the '-h' tells it to create the threaded version of the module)