Compile tool button doesn´t work

Ralf Nolden Ralf.Nolden at post.rwth-aachen.de
Sat Apr 8 09:08:40 UTC 2000


Falk Brettschneider wrote:
> 
> Hi!
> 
> "W. Tasin" wrote:
> >
> > Falk Brettschneider wrote:
> > >
> > > Hi,
> > >
> > > With a customer project only the "Build" toolbutton works. A click on
> > > "Compile" causes an error message that the file cannot be found... :-(
> > > --
> >
> > I tried this too...
> > and worked...
> >
> > even in a minimalistic solution:
> >
> > costum_project:
> > ~/project/custom_project/custom_project.kdevprj
> > ~/project/custom_project/custom_project/Makefile
> > ~/project/custom_project/custom_project/test.c
> That might be the problem...You don´t use sub-directories :)
> 
> My project structure is:
> ~/project/include/test.h
> ~/project/src/test.cpp
> ~/project/src/main.cpp
> ~/project/res/test.xpm
> ~/project/Makefile
> ~/project/test.pro
> ~/test.kdevprj
> 
> The exact error message is:
> g++  -O0 -g3 -Wall      -c test.cpp -o test.o
> test.cpp:10: test.h: Datei oder Verzeichnis nicht gefunden
> make: *** [test.o] Error 1
> *** failed ***
;-) you should add a section with setting include path to -I./include
;-) don´t you ?
Or include it with #include "../include/test.h"

Ralf

-- 
**********************************
Ralf Nolden

Ardennenstr. 41 
52355 Düren

Tel. 02421/502758

The KDevelop Project
http://www.kdevelop.org

Email: rnolden at kdevelop.de
**********************************





More information about the KDevelop-devel mailing list