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.
- Compress and open 17 file types including documents, image files, and databases
- Filtering options for zipping/opening specific archived files
- File merging and file conversion for PDFs and other formats
- Cloud and backup support
Level up your file management!
Try it out for free!
Download DriverFix (verified download file).
Click Start Scan to find all problematic drivers.
Click Update Drivers to get new versions and avoid system malfunctionings.
DriverFix has been downloaded by 0 readers this month.
How to address “g++ has stopped working” DEV C++ error on Windows 10
- Change Compiler options
- Run DEV C++ in Compatibility mode
- 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:
- Open DEV C++.
- Click on Tools > Compiler Options.
- Under programs, set these values for these respective sections:
- gcc: mingw32-c++.exe
- g++: c++.exe
- make: mingw32-make.exe
- 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.
- gcc: mingw32-c++.exe
- g++: c++.exe
- make: mingw32-make.exe
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:
- Right-click on the DEV C++ shortcut and open Properties.
- Choose the Compatibility tab.
- Check the “Run this program in compatibility mode for” box.
- 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:
- Uninstall DEV C++.
- Download and install the latest version. You can find it, here. Don’t start it yet.
- Download the iostream.h and fstream.h files. You can find them here and here.
- Navigate to C:Program FilesDev-CppMinGW64x86_64-w64-mingw32include and copy-paste both files.
- 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:
- Fix: Microsoft Visual C++ Runtime Error in Windows 10
- Visual Studio 2015 C++ compiler’s hidden codes make calls to Microsoft’s telemetry services
- Windows 10 Spring Update will enable developers to build better apps with AI
- 5 best gaming programming software to create stunning games
If the advices above haven’t solved your issue, your PC may experience deeper Windows problems. We recommend downloading this PC Repair tool (rated Great on TrustPilot.com) to easily address them. After installation, simply click the Start Scan button and then press on Repair All.
Still having issues? Fix them with this tool:
SPONSORED
- windows 10 fix
Email *
Commenting as . Not you?
Comment