Hi there,
I know people on the forum have already asked about this error but I tried following all the solutions and none seem to work.
I installed the minGW compiler package on my laptop because CodeBlocks would always complain that it couldn't find my old GCC compiler. Now it doesn't complain about that anymore, but whenever I try to build and run a file, it keeps popping up a box saying that the file hasn't been build yet and asking if I want to build it now. If I click yes, it keeps popping up the same dialog ox until I click no or cancel. It also gives me the following error:
Execution of 'mingw32-g.exe -o "C:\Users\Anastasiya\Google Drive\assignment.exe" "C:\Users\Anastasiya\Google Drive\assignment.o"' in 'C:\ProgramData\Microsoft\Windows\Start Menu\Programs\CodeBlocks' failed.
Things I tried doing so far:
- reinstalling CodeBlocks
- checked the path for the compiler, it is correct (C:\MinGW). I did not rename the folder containing the compiler.
- tried changing the linker for dynamic libs from mingw32-g++.exe to mingw32-g.exe (the original one would cause the same error as above, except for the execution of mingw32-g++.exe would fail).
- tried manually changing the compiler path
- made sure there are no spaces/weird characters in my path or filenames
Please help me out, I really don't know what to do.
Thanks!