Weird issue with modules

BlitzMax Forums/BlitzMax Programming/Weird issue with modules

Reda Borchardt(Posted 2009) [#1]
I have installed and compiled a couple of Brucey's modules. The examples also compile and work using MaxIDE.

However, when I use the community edition, Blide or Project Studio I get a cannot find interface for module compilation error.

This is driving me nuts since I really dislike the standard MaxIDE.
Does anybody have an idea what may be causing this?


Ked(Posted 2009) [#2]
Trying rebuilding the documentation.


Reda Borchardt(Posted 2009) [#3]
Thanks. I already tried that without success.


xlsior(Posted 2009) [#4]
How?

did you try running bin\makedocs.exe ?


Brucey(Posted 2009) [#5]
cannot find interface for module

Alas, that's nothing to do with documentation.

The error means that it can't find a module that is required to build the application.

Perhaps you need to define the location of BlitzMax (and its modules)?

Also check the default compiler settings that you are trying to build your app with. For example, if "threaded" build is enabled, and you haven't built the modules with that enabled, you will see that error. (There are currently two states with which you can build modules - threaded or normal. The default is normal).


Reda Borchardt(Posted 2009) [#6]
It works. Thank you!!!
I had nod idea that building your modules in a threaded way had an impact on the linker.


ziggy(Posted 2009) [#7]
If the application is not threaded, it will need a non-threaded compilation of modules. If the application is threaded, it will need the threaded compilation of modules.


Reda Borchardt(Posted 2009) [#8]
Thanks. I thought that threaded meant that the compiler would be using multiple cores to compile.

Where can I find more information about the 'thread' module.