KDevelop : No targets specified and no makefile found

Asked by Kim Lyon

I have set up the project in KDevelop - it even has a directory with 3 .cmake files in it . However when I try to build the project it responds :

/home/kim/Projects/FrontEnd/FrontEnd_Linux_KDE/build/> make
make: *** No targets specified and no makefile found. Stop.
*** Failed ***

I assumed , wrongly , that when it created the project - with the default files - it would create a corresponding make file ( like Code::Blocks does ) .

Any ideas ?

Many Thanks

Kim Lyon

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Kim Lyon
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

try cmake ;)

Revision history for this message
Kim Lyon (kim-lyon) said :
#2

??? - cmake is installed and is being picked up . However the project , when it was constructed , seems to be missing a link to the makefile - despite there being 3 .cmake files in a project directory .

Revision history for this message
Kim Lyon (kim-lyon) said :
#3

Are cmake and make , in KDevelop , 2 different make utility choices ? If so - there should be a switch to select the one to use - I can't find any switch . Do I need to install both ?

Revision history for this message
Kim Lyon (kim-lyon) said :
#4

cmake seems to use make . make is installed .

However the problem is that KDevelop is not building and picking up the project make file .

Revision history for this message
Kim Lyon (kim-lyon) said :
#5

I've dumped KDE and have switched to Qt4 .

Revision history for this message
Kim Lyon (kim-lyon) said :
#6

Sorry - need to re-open this - my excursion with Qt4 wasn't helpful .

/home/kim/Projects/FrontEnd/FrontEnd_Module_KDE/build/> make
make: *** No targets specified and no makefile found. Stop.
*** Failed ***

I ultimately need to access the X11 - X Windows - GDI - som am concentrating on that .

Revision history for this message
Kim Lyon (kim-lyon) said :
#7

Ended up setting up a project with QDevelop and linking in via that .

Revision history for this message
Christian González (droetker) said :
#8

Had same problem, here should be the solution I think:

the problem occurred when compiling a KDE program (konsole) with missing dependencies.
First yo have to do a ./configure, then cmake.
And have the dependencies installed (in my case "apt-get build-dep konsole")

Afterwords working flawlessly.