You are not logged in.
Pages: 1
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
Use Vim!
(just kidding)
Sounds to me like kdevelop doesn't know which file to execute.
Offline
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
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
Yeah you are right indeed, but how to i tell kdevelop what file to execute?
Offline
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
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
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
how can i make kdevelop to execute a program on a konsole terminal
instead of the run pane?
Offline
You can use the konsole panel to navigate to the executable and launch it manually after building...
Offline
Pages: 1