Page 1 of 1

Codelite run .c program no output

Posted: Wed Mar 04, 2015 12:10 am
by marvin
I am using [Codelite 7.0](http://codelite.org/) for C programming. These are the steps that I followed to execute a `.c` program:

* `Workspace`-->`New Workspace`-->`C++ Workspace`
* `Workspace`-->`New Project`-->`Console`-->`gcc`
* `Compiler`-->`gnu gcc`
* `Debugger`-->`GNU gdb debugger`
* `Build`-->`Build Project`
* `Build`-->`Compile Current File`
* `Build`-->`Run`

Here is my `.c` program (a 'Hello World'): http://pastebin.com/gcv7W2tp

#include <stdio.h>

int main(int argc, char **argv)
{
printf("hello world\n");
return 0;
}

When I click run there is no output in the command prompt, which is weird.

How can I fix that?

Re: Codelite run .c program no output

Posted: Wed Mar 04, 2015 12:13 am
by eranif
Where is the build output?
Please read the "HOW TO POST" (see my signature)

Eran

Re: Codelite run .c program no output

Posted: Wed Mar 04, 2015 12:24 am
by marvin
Added:
OS:Windows 8 64 bit
Build output:C:\Windows\system32\cmd.exe /C "mingw32-make.exe -j 4 -e -f Makefile"
'mingw32-make.exe' is not recognized as an internal or external command,
operable program or batch file.
0 errors, 0 warnings

Re: Codelite run .c program no output

Posted: Wed Mar 04, 2015 12:29 am
by eranif
marvin wrote:'mingw32-make.exe' is not recognized as an internal or external command
Did you install a compiler?

Also, which codelite version?

Eran

Re: Codelite run .c program no output

Posted: Wed Mar 04, 2015 12:32 am
by marvin
Codelite version 7.0.I've downloaded from here:http://downloads.codelite.org/
Also i did not installed a compiler.

Re: Codelite run .c program no output

Posted: Wed Mar 04, 2015 12:38 am
by eranif
Well, CodeLite is not a compiler, its an IDE
See this wiki page:

http://codelite.org/AddNewCompiler/AddNewCompiler

Eran

Re: Codelite run .c program no output

Posted: Wed Mar 04, 2015 5:48 pm
by marvin
Thanks!That solved the problem.