G++ has stopped working on Windows 10/11: How can I fix it? (2024)

Readers help support Windows Report. When you make a purchase using links on our site, we may earn an affiliate commission. G++ has stopped working on Windows 10/11: How can I fix it? (1)

Read the affiliate disclosure page to find out how can you help Windows Report effortlessly and without spending any money. Read more

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 theiostream.h andfstream.h files. You can find them here and here.
  4. Navigate toC: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:

G++ has stopped working on Windows 10/11: How can I fix it? (2)

Aleksandar OgnjanovicG++ has stopped working on Windows 10/11: How can I fix it? (3)

Aleksandar's main passion is technology. With a solid writing background, he is determined to bring the bleeding edge to the common user. With a keen eye, he always spots the next big thing surrounding Microsoft and the Windows OS.Focused on Windows errors and how to solve them, he also writes about the OS's latest features as well as its interface.In his free time, he likes to read, listen to music, and enjoy the nature. Hiking is one of his newly found passions.

G++ has stopped working on Windows 10/11: How can I fix it? (2024)
Top Articles
Latest Posts
Article information

Author: Chrissy Homenick

Last Updated:

Views: 5548

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Chrissy Homenick

Birthday: 2001-10-22

Address: 611 Kuhn Oval, Feltonbury, NY 02783-3818

Phone: +96619177651654

Job: Mining Representative

Hobby: amateur radio, Sculling, Knife making, Gardening, Watching movies, Gunsmithing, Video gaming

Introduction: My name is Chrissy Homenick, I am a tender, funny, determined, tender, glorious, fancy, enthusiastic person who loves writing and wants to share my knowledge and understanding with you.