User forums > Help
Cannot run program
(1/1)
activee:
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\.)
activee:
It seems like my antivirus was causing the problem.
harrykar:
--- Quote from: activee on June 24, 2014, 06:45:30 pm ---It seems like my antivirus was causing the problem.
--- End quote ---
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 too)
Navigation
[0] Message Index
Go to full version