You are not logged in.

#1 2010-07-21 12:28:11

arkara
Member
Registered: 2010-05-02
Posts: 35

Can't use kdevelop

Hi


I have  installed kdevelop 4 but i have two problems:

1) There are project templates only to C++ and cmake
2) When i start a project, it  builds normally but i can't execute it
for some reason. The execute button is gray. But if i navigate from terminal
to the build directory the program runs ok.

How can i fix it? Thanks.

Offline

#2 2010-07-21 13:01:02

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: Can't use kdevelop

Use Vim!

(just kidding)

Sounds to me like kdevelop doesn't know which file to execute.

Offline

#3 2010-07-21 13:08:25

arkara
Member
Registered: 2010-05-02
Posts: 35

Re: Can't use kdevelop

it's plain stupid to know what files to build and not know what files to execute.
I am also trying to use makefiles written by hand and a plain editor such as  vim
and/or kate.

Offline

#4 2010-07-21 18:10:29

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: Can't use kdevelop

arkara wrote:

it's plain stupid to know what files to build and not know what files to execute.

Not at all.  A given project might have multiple executable files that have different uses.  "Execute" doesn't give you any choice in the matter.  The build process, on the other hand, is usually documented in a Makefile or similar, because you typically want to update the entire project after changing a piece of code that several files depend on.

Offline

#5 2010-07-21 19:59:22

arkara
Member
Registered: 2010-05-02
Posts: 35

Re: Can't use kdevelop

Yeah you are right indeed, but how to i tell kdevelop what file to execute?

Offline

#6 2010-07-21 20:35:41

Trent
Member
From: Baltimore, MD (US)
Registered: 2009-04-16
Posts: 990

Re: Can't use kdevelop

That I can't help you with, as I have used kdevelop for about 5 minutes all told, and that was on Slackware in 2006.

Perhaps some others lurk around with latent kdevelop knowledge? ...

Offline

#7 2010-07-21 22:08:15

MadCat_X
Member
Registered: 2009-10-08
Posts: 189

Re: Can't use kdevelop

Go to Run>Configure Launchers and specify path to the executable manually in the settings of your current project. There is probably a better way how to do this, but I'm new to KDevelop myself...

Offline

#8 2010-07-22 00:30:03

arkara
Member
Registered: 2010-05-02
Posts: 35

Re: Can't use kdevelop

Nice, thank you! It's done. Something else, for some reason cmake is not a dependency on kdevelop.
I have opened a bug report. You can vote it.

http://bugs.archlinux.org/index.php?do= … k_id=20253

What other tips and tricks does kdevelop have that makes it better than other IDE's?

Offline

#9 2010-07-22 11:43:05

arkara
Member
Registered: 2010-05-02
Posts: 35

Re: Can't use kdevelop

how can i make kdevelop to execute a program on a konsole terminal
instead of the run pane?

Offline

#10 2010-07-22 11:56:37

MadCat_X
Member
Registered: 2009-10-08
Posts: 189

Re: Can't use kdevelop

You can use the konsole panel to navigate to the executable and launch it manually after building...

Offline

Board footer

Powered by FluxBB