G++ has stopped working on Windows 10: How can I fix that?

Aleksandar Ognjanovic
by Aleksandar Ognjanovic
Troubleshooting Expert
Affiliate Disclosure

g++ has stopped working windows 10
To fix various PC problems, we recommend DriverFix: This software will keep your drivers up and running, thus keeping you safe from common computer errors and hardware failure. Check all your drivers now in 3 easy steps:
  1. Download DriverFix (verified download file).
  2. Click Start Scan to find all problematic drivers.
  3. Click Update Drivers to get new versions and avoid system malfunctionings.
  • DriverFix has been downloaded by 0 readers this month.

The DEV C++ suite usually works without any issues on all platforms. However, there seems to be an error which is unique on Windows 10. The “g++ has stopped working” error on Windows 10 points towards some compatibility issues. In order to resolve it, try steps below.

How to address “g++ has stopped working” DEV C++  error on Windows 10

  1. Change Compiler options
  2. Run DEV C++ in Compatibility mode
  3. Reinstall DEV C++ with custom headers

Solution 1 – Change Compiler options

There are three methods we got a hold of, and either one should work in addressing the “g++ has stopped working” error on DEV C++.

The first method concerns Compiler options, as some parameters seeming won’t work. Especially if you’re running Windows 10 with the 64-bit architecture.

Follow these steps to fix the “g++ has stopped working” by changing Compiler options values:

    1. Open DEV C++.
    2. Click on Tools > Compiler Options.
    3. Under programs, set these values for these respective sections:
      • gcc: mingw32-c++.exe
      • g++: c++.exe
      • make: mingw32-make.exe
    4. Save changes.

Solution 2 – Run DEV C++ in Compatibility mode

The second method is rather simple. If an application worked seamlessly in a previous iteration of Windows, but it isn’t working as intended on Windows 10, we suggest trying the compatibility mode.

This way, the system will simulate Windows 7 and you should be able to work with DEV C++ without any further issues.

Follow these steps to run DEV C++ in the compatibility mode:

  1. Right-click on the DEV C++ shortcut and open Properties.
  2. Choose the Compatibility tab.
  3. Check the “Run this program in compatibility mode for” box.
  4. From the drop-down menu, choose Windows 7 and confirm changes.

Solution 3 – Reinstall DEV C++ with custom headers

Finally, the third and last method is, in comparison to first, much more applicable to Windows 10 with the 32-bit architecture (x86).

What you need to do is replace the current application version (uninstall it) with the last stable release. In addition, there are two extra header files which you need to copy into the installation folder later on.

Here’s the whole procedure you’ll need to follow:

  1. Uninstall DEV C++.
  2. Download and install the latest version. You can find it, here. Don’t start it yet.
  3. Download the iostream.h and fstream.h files. You can find them here and here.
  4. Navigate to C:Program FilesDev-CppMinGW64x86_64-w64-mingw32include and copy-paste both files.
  5. Start DEV C++.

With that said, we can conclude this article. In case you have any questions or suggestions, feel free to tell us in the comments section below.

RELATED STORIES YOU SHOULD CHECK OUT:

This article covers:Topics:

There are no comments yet. Please leave a comment

add a comment

Leave a Reply

Your email address will not be published. Required fields are marked *