Code::Blocks Forums
User forums => Help => Topic started by: activee on June 24, 2014, 06:41:26 pm
-
hey I just installed code block and when I "build & run" it seems like my program window disappear and I'm left with the debug window open.
After that only abort works in order to close it. My program seems to keep running in the background and I can't even stop it with task manager.
It's a simple hello word program with a scanf() at the end.
I need help.
-------------- Build: Debug in g (compiler: GNU GCC Compiler)---------------
mingw32-gcc.exe -Wall -g -c C:\Users\Ced\Documents\g\main.c -o obj\Debug\main.o
C:\Users\Ced\Documents\g\main.c: In function 'main':
C:\Users\Ced\Documents\g\main.c:9:5: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int' [-Wformat]
mingw32-g++.exe -o bin\Debug\g.exe obj\Debug\main.o
Output file is bin\Debug\g.exe with size 28.36 KB
Process terminated with status 0 (0 minute(s), 1 second(s))
0 error(s), 1 warning(s) (0 minute(s), 1 second(s))
-------------- Run: Debug in g (compiler: GNU GCC Compiler)---------------
Checking for existence: C:\Users\Ced\Documents\g\bin\Debug\g.exe
Executing: "C:\Program Files (x86)\CodeBlocks/cb_console_runner.exe" "C:\Users\Ced\Documents\g\bin\Debug\g.exe" (in C:\Users\Ced\Documents\g\.)
-
It seems like my antivirus was causing the problem.
-
It seems like my antivirus was causing the problem.
You got it ;) same thing here ; I strongly recommend you to take down antivirus stuff when you use development tools (included CVS's http://en.wikipedia.org/wiki/Revision_control (http://en.wikipedia.org/wiki/Revision_control) too)