The best way to proceed would be to first uninstall and remove everything. Then get the MinGW installer from here and use it to download and install MinGW for you. Choose the Current build, and make sure you have the following components selected: base tools, g compiler, MinGW make. Hello, i got the same problem, the reason was because i had another mingw instalations in my system. It seems that devc looks for a mingw installation each time it starts. The solution: i rename the c:mingw folder and everything start working. Check if in the compiler directory there is g.exe.If you can see it go to: Installing c/g on Windows. And download the file full.exe then follow the instruction and put the directory in path. After that restart your pc, go to the cmd and try to compile there. If it works change the toolchain of the IDE.
C Dev-cpp Makefile.win Build Error Project1.exe Error 1 10
So, I tried Orwel's Dev-C++ 5.4.2 and it compiled. However, when I come to run the exe, nothing opens. Tried using debugging mode, and some very weird stuff happened.
1-I placed breakpoints all over the 2 files (the main and the header file), but the debugger would ignore everything, and jumps into this line:
http://i33.servimg.com/u/f33/16/27/78/35/screen12.png
2-I clicked on 'next line', and the debugger moved normally to the next line:
http://i33.servimg.com/u/f33/16/27/78/35/screen13.png
3-I clicked on 'next line' once more expecting that the debugger would enter the main function, but then:
http://i33.servimg.com/u/f33/16/27/78/35/screen15.png
It jumped to the closing bracket of the function 'breakpoints invalid'...
4-Tried clicking 'next line' 3 more times, and I received a 'segmentation fault':
http://i33.servimg.com/u/f33/16/27/78/35/screen16.png
5-Clicking on ok with 'show CPU window' checked:
http://i33.servimg.com/u/f33/16/27/78/35/screen17.png
:
Thanks ne555, I appreciate your time and dedication =)