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?
Codelite run .c program no output
-
- CodeLite Curious
- Posts: 7
- Joined: Wed Mar 04, 2015 12:07 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codelite run .c program no output
Where is the build output?
Please read the "HOW TO POST" (see my signature)
Eran
Please read the "HOW TO POST" (see my signature)
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 7
- Joined: Wed Mar 04, 2015 12:07 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codelite run .c program no output
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
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
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codelite run .c program no output
Did you install a compiler?marvin wrote:'mingw32-make.exe' is not recognized as an internal or external command
Also, which codelite version?
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 7
- Joined: Wed Mar 04, 2015 12:07 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codelite run .c program no output
Codelite version 7.0.I've downloaded from here:http://downloads.codelite.org/
Also i did not installed a compiler.
Also i did not installed a compiler.
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codelite run .c program no output
Well, CodeLite is not a compiler, its an IDE
See this wiki page:
http://codelite.org/AddNewCompiler/AddNewCompiler
Eran
See this wiki page:
http://codelite.org/AddNewCompiler/AddNewCompiler
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Curious
- Posts: 7
- Joined: Wed Mar 04, 2015 12:07 am
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Codelite run .c program no output
Thanks!That solved the problem.