codeblocks error Tried to Run compiler executable ‘C:\MinGW/bin/mingw32-gcc.exe’,but fail

click Settings — toolchain executables — auto-detect

if you can’t find it, you might accidentally delete it, uninstall it and reinstall it.

Read More: