User forums > Using Code::Blocks
Code Blocks does not compile
Schragner:
Why is my Code Block not able to build anything? I am using version 16.01 and I have windows 7. Whenever I try to build something it says "1 errors" and if I go to Building Log it says "mingw32-g++.exe: error: CreateProcess: No such file or directory". What should I do? I need it to work as soon as possible. Thanks very much!
Miguel Gimenez:
Can you post a full rebuild log?
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F
Schragner:
I am running version 16.01 on windows 7. The compiler is GNU GCC Compiler.
When I write anything and hit build it says there is one error.
Build Log:
-------------- Build: Debug in 168 (compiler: GNU GCC Compiler)---------------
mingw32-g++.exe -Wall -fexceptions -g -c "C:\Users\Administrator\Documents\New folder\168\main.cpp" -o obj\Debug\main.o
mingw32-g++.exe: error: CreateProcess: No such file or directory
Process terminated with status 1 (0 minute(s), 0 second(s))
1 error(s), 0 warning(s) (0 minute(s), 0 second(s))
I have already tried reinstalling, restarting the computer, etc. but nothing works.
Thanks to anyone who helps me(including Miguel Gimenez)
Miguel Gimenez:
It looks like a bug in MinGW, specially with TDM. See other similar threads in this forum:
http://forums.codeblocks.org/index.php/topic,18100.0.html
http://forums.codeblocks.org/index.php/topic,21101.0.html
or outside
https://stackoverflow.com/questions/14330383/mingw-error-no-such-file-or-directory-exists?rq=1
Schragner:
Thanks Miguel Gimenez for the responses, but I still can't get it to work. Anyone else please help if you can.
Navigation
[0] Message Index
[#] Next page
Go to full version