Directories tree

Andreas Pakulat apaku at
Sat May 8 00:18:19 BST 2010

On 08.05.10 01:43:26, Leon Pollak wrote:
> Hello.
> I installed the kdevelop1.0.0 and created the new C++ project with the wizard 
> (hello world).
> 1. I received the PROJECT directory with 'build' & 'src' subdirs, while 
> main.cpp file resides in the PROJECT directory. I expected it to be in the 
> 'src', but...

Which template did you choose? Those coming with KDevelop all have no
src/ subdir, so I guess you've taken one from kapptemplate. I file a
bugreport against it on

> 2. Anyway, main.cpp compiled and run. I added to it 
> #include "sm.h"
> line and put the sm.h file into 'src' directory. Compilation failed and it 
> suggested me to add custom path. I agreed. After several attempts of different 
> directories for "storage" and "automatic" I managed to satisfy the kdevelop 
> itself -it now does not complain about sm.h file absence. Still, compilation 
> fails.

You need to edit the buildsystem files to let the compiler know about
where your includes are. That would also tell kdevelop about the include
directory and hence you wouldn't even be asked to add it as custom
include path to the .kdev_include_paths file.


You will attract cultured and artistic people to your home.

More information about the KDevelop mailing list