It is simple but not as simple as it could be, so :
- install the latest jdk (1.6.24) - the SE one (stands for Standard Edition and is all you need in all probability). I had the infamous 1335 error (XXX.cab corrupted) - maybe it had to do with my network - still after redownloading 3-4 times the jdk-6u24-windows-i586.exe it worked.
- Install netbeans - 6.9.1 at the time of writing. I install the full one.
- Download the MinGwin get-install : mingw-get-inst-20110211.exe at the time of writing. You get it from sourceforge. If you are Admin it will install for all users - to avoid this you will have to Run as... a limited user - if you care. Leave the install dir C:\MinGW - don't go looking for trouble. You can choose prepackaged repositories or let it download the newer ones - I usually opt for the second. Select the compilers you want and the MinGW Developer Toolkit (I think gdb is in there).
- Let it install - it will download the packages it needs so grab a snickers.
- Append ;C:\MinGW\bin to the end of the Path System variable found in System Properties > Advanced > Environmental variables > System vars. Semicolon needed. This adds C:\MinGW\bin to the paths Windoz looks for executables - so it will know about the existence of the compilers you just installed. Bingo. Don't forget the ;.
- Download and run MSYS-1.0.11.exe. This very one. Let C:\msys\1.0 alone. Once it finishes it will throw a "post-install screen". The answers are : y, y, c:\mingw. Don't mess it up. It will install the correct make.
- Run netbeans, update the updater, update the rest.
- Done !
WOW!!!!!!!!!!!
ReplyDelete