DIGIT-ARC read-only archive · snapshot: July 23, 2026

Compiling in KDevelop

10 posts · originally from https://geek.digit.in/community/threads/compiling-in-kdevelop.33270/

saurabh.sauron
saurabh.sauron Original post #1
Aug 3, 2006 at 8:24 PM
how do u compile a program in KDevelop? i wrote a simple program but cant find a compile option. also, how do u execute it? pls help
thnx
harmax
harmax #2
Aug 3, 2006 at 8:49 PM
tryin to figure that out for the past 10+/- years, people hoo use it please educte us on it usage, adv and blah blah
Venom
Venom #3
Aug 3, 2006 at 9:28 PM
Which language is KDev used for? Cause I use Kate for Python/C++ and so on. So to compile Python and Cpp i use the terminal...
M
Aug 3, 2006 at 9:41 PM
See if this helps *www.dazzle.plus.com/linux/
saurabh.sauron
Aug 4, 2006 at 7:02 PM
look at this screenshot...
i tried compiling with the terminal and got this error...
*i47.photobucket.com/albums/f177/saurabh_sauron/sc.gif

BTW, how do u break the execution when u dont have getch(); ???
Venom
Venom #6
Aug 4, 2006 at 8:53 PM
You dont have to use a Getch, if you really need to break, use return maybe. Getch is outdated, TC ?
JGuru
JGuru #7
Aug 4, 2006 at 9:54 PM
For C/C++ IDE in Linux , use Anjuta (*anjuta.org/ ) , for Python use 'IDLE' IDE.
Also check this link:
*wiki.python.org/moin/IntegratedDevelopmentEnvironments
For KDevelop , check their website : *www.kdevelop.org/
saurabh.sauron
Aug 5, 2006 at 3:26 PM
i installed anjuta but then i get an error while compilation

here's my test program
#include<iostream>
int main()
{
cout<<"Sauron";
return 0;
}
The Error:-
4:error:'cout' was not declared in this scope.

pls help
JGuru
JGuru #9
Aug 6, 2006 at 12:18 AM
This one works fine!!

Code:
#include <iostream>

using namespace std;

int main()
{
     cout<<"Hello C++!!";
     return 0;
}


Checkout this C++ Tutorial:

*www.glenmccl.com/lang.htm

Ofcourse in Linux, there are some minor variations!!
saurabh.sauron
Aug 7, 2006 at 6:30 PM
ya...i came to know that i had to use
using namespace std;
i dont think u need getch in linux...