Problem using modules.

BlitzMax Forums/BlitzMax Programming/Problem using modules.

orgos(Posted 2009) [#1]
Hello people.

I want to use some modules but i find some problems.

I install BMax 1.30 version and install the MinGW on c:\ and copy the content of libexe to bin folder and when and put the enviroments variables, so when try to compile the libxml module i have this error:


Building libxml
Compiling:SAX.c
Build Error: failed to compile C:/Archivos de programa/BlitzMax/mod/bah.mod/libxml.mod/src/SAX.c
Process complete


Some idea?


Gabriel(Posted 2009) [#2]
Open a command prompt and type GCC. Tell me what happens.


orgos(Posted 2009) [#3]
The enviroment variable don't work :-D

I copy the gcc.exe file to the bin blitzmax folder and then compile the modules and all work :D

Thanks.


grable(Posted 2009) [#4]
That wont solve other dependencies though, like include files and libraries.
It might even stop G++ and AS from doing its job...

So you should really look into setting up mingw the proper way.


Brucey(Posted 2009) [#5]
This post should help you set up the correct environment variables - MINGW and an addition to PATH.
Once those are set correctly, you should not need to copy any files from MinGW to BlitzMax.


orgos(Posted 2009) [#6]
Thanks, I copy the needed files to the bin folder of blitzmax and all work fine :-D, recompilled all modules in release option, and the final .exe work really fine.