07-27-2023, 08:20 AM
Here is the steps I followed in CodeBlocks IDE:
Create a new project->console->C->Name->debug and release->finish
So when I choose `main.c` and build it, It should show the "Hello World!", but I get this weird `mingw32-gcc.exe: error: CreateProcess: No such file or directory` error.
I've written and compiled about 20 C files this way, but I don't know what has recently happened to the IDE.
I've checked the CodeBlocks forum and googled this problem;No results
Any ideas?
**Bulid Log:**
-------------- Build: Debug in C (compiler: GNU GCC Compiler)---------------
mingw32-gcc.exe -Wall -g -c "C:...\Project Files\C Codes\C\main.c" -o obj\Debug\main.o
mingw32-gcc.exe: error: CreateProcess: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings (0 minutes, 0 seconds)
I used CodeBlocks 10.02 three days ago and it compiled and ran the code successfully. It showed this error yesterday. I thought that maybe the code file wasn't included so I removed the previous code from the project and added the new file (I do like this for about 20 programs and always get results); but the error still exists. Then I rebuilt the project but still got the error. I uninstalled ver.10.02 and installed a new version 12.11 today. Again I get this weird error.
P.S. It looks like someone else have had this problem too:
[
[1]:
Create a new project->console->C->Name->debug and release->finish
So when I choose `main.c` and build it, It should show the "Hello World!", but I get this weird `mingw32-gcc.exe: error: CreateProcess: No such file or directory` error.
I've written and compiled about 20 C files this way, but I don't know what has recently happened to the IDE.
I've checked the CodeBlocks forum and googled this problem;No results
Any ideas?
**Bulid Log:**
-------------- Build: Debug in C (compiler: GNU GCC Compiler)---------------
mingw32-gcc.exe -Wall -g -c "C:...\Project Files\C Codes\C\main.c" -o obj\Debug\main.o
mingw32-gcc.exe: error: CreateProcess: No such file or directory
Process terminated with status 1 (0 minutes, 0 seconds)
1 errors, 0 warnings (0 minutes, 0 seconds)
I used CodeBlocks 10.02 three days ago and it compiled and ran the code successfully. It showed this error yesterday. I thought that maybe the code file wasn't included so I removed the previous code from the project and added the new file (I do like this for about 20 programs and always get results); but the error still exists. Then I rebuilt the project but still got the error. I uninstalled ver.10.02 and installed a new version 12.11 today. Again I get this weird error.
P.S. It looks like someone else have had this problem too:
[
[To see links please register here]
][1][1]:
[To see links please register here]