About MinGW...
BlitzMax Forums/BlitzMax Module Tweaks/About MinGW...
| ||
PC users wishing to build modules or compile source code that imports C/C++ code will need to install the MinGW C/C++ compiler package. * Download and install MinGW 3.1.0 from www.mingw.org The current download can be found here: http://prdownloads.sourceforge.net/mingw/MinGW-3.1.0-1.exe?download Note: Do not use a later version of MinGW. Due to ongoing issues with C++, you may have trouble linking with 'prebuilt' modules if you do. * Edit your PATH environment to include the MinGW/bin directory. * Create a MINGW environment variable that points to the MinGW root directory. And that should be it! You should now be able to use the 'build modules' feature in the IDE. |
| ||
How do you do the second two steps after downloading? |
| ||
If you're running xp click the start button, right click on 'My Computer' >> 'Properties'. Click the 'Advanced Tab' and at the bottom you will see the 'Environment Variables' button. Click that. It should open up a new window with two boxes named 'User Variables for blah' and 'System Variables'. Click 'New' for User Variables and in the 'Variable Name'Box type 'MinGW'. In the 'Variable Value' Box enter the path to the MinGW installation ie C:\MinGW. Then click OK. In the 'System Variables' box, scroll down until you see the variables 'Path'. Click on it and click the edit button. In the 'Variable Value' box, move your curser to the end of text, add a semi colon, and put the path to your MinGW\bin directory. eg, c:\MinGW\Bin. Click ok and ok again and you should be ready to go. :) |
| ||
Great, exactly what I (and others) needed to know. Thanks. |
| ||
I had no problem following these instructions. Got BlitzMax up and running under WinXP in no time and it compiled my app first time (after 2 syntax errors) and ran exactly as it did on my Mac. Brilliant! |
| ||
Anyone using this under Mac Os X ? |
| ||
uh there are so many mingw files there, which do i download besides the winAPI one? or do i need only that one? cause it didnt come with a mingw/bin directory like i am reading in marks post. |
| ||
There is only 1 file listed in the post above that you need called MinGW-3.1.0-1.exe, click on the link, then select the mirror, download and run (it's an installer). Then add the path and environment variables. |
| ||
thanks |
| ||
Anyone have problems with getting this working in Vista should look at this thread. |