MinGW

BlitzMax Forums/BlitzMax Programming/MinGW

I've am having trouble setting up MinGW on windows XP.

I have followed the same steps that I have had work previously with XP. I have also successfuly got it set up on Vista.

I have installed to C:\MinGW

I have added a MinGW environment variable equating to: c:\MinGW

I have also added: ;c:\MinGW\bin to the end of my PATH environmental variable.

However, when I try to rebuild modules I get this error:

Building Modules
Compiling:blitz_app.c
Build Error: failed to compile C:/Program Files/BlitzMax/mod/brl.mod/blitz.mod/blitz_app.c
Process complete


Hi Marc,

just had to install MingW yesterday on a new XP and was very
happy that it worked on the first try.
I used this guide: http://ziggybcn.proboards31.com/index.cgi?board=publisher&action=display&thread=134
Have you installed G++ compiler too?

I use the bmax companion

http://www.blitzbasic.com/Community/posts.php?topic=79814

that downloads and installs everything you need automatically including mingw.

I have also added: ;c:\MinGW\bin to the end of my PATH environmental variable.

You could have missed the semi-colon from the PATH variable. It should look like:
blahpath1;blahpath2;c:\MinGW\bin;

Do you know how silly I feel.

changing the path from:

;c:\MinGW\bin

to

;c:\MinGW\bin;

Fixed it.

I didnt realise you needed a semi-colon at the end of the last path variable too!

Thanks for all your help!

I didnt realise you needed a semi-colon at the end of the last path variable too!
You don't. None of my PCs have that and everything works perfectly.

Must've been something else.

Did you reboot the PC?

Changes to the path and such don't take effect until after a reboot IIRC

just closing the command prompt and opening it up again does it for me.

Changes to the path and such don't take effect until after a reboot IIRC

Only true for pre-XP.

As Warpy says, (re)starting a process is enough to pick up the new settings.

Sorry, you don't need the semi-colon, it's just a separator char, you also don't seem to need a trailing backslash. I remember I had to reboot before it worked for me.

Make sure to add the path to the original path in the SYSTEM variables, and then open a NEW command prompt. Any prompt that is open will not dynamically 'get it'.

I dont understand why it started it working all of a sudden then.

Could have been the process or the restart.

Oh well its working now so I'm happy :)

Thank You. Had the same mistake on my computer.