I am using CodeBlocks in Windows 10 64-bit. It says 'mingew32-g++.exe' stopped working every time I want to build my code. I have tried reinstalling CodeBlocks many times.


Rename the file to mingw32-g++ : Go to C:\mingew32\bin -> find a file with -g++ at the end, make sure to save the current name for a backup file, then rename it to mingw32-g++. After that check to see if there's anything with -g++ at the end in C:\mingw64\bin.

If renaming to mingw32-g++ doesn't work, the next place to check would be in Programs and Features to find which program installed mingew32-g++.exe. You don't need to uninstall that program in order to check if it has a legitimate looking name. If it also looks wrong in Programs and Features, you can uninstall it, download it again and reinstall it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.