CMake problem

David Nolden zwabel at googlemail.com
Sun Feb 17 22:36:04 UTC 2008


Hi Aleix! I have a few problems with cmake:
When importing a new project to cmake, in my case it's kdebase/workspace, I 
cannot create a new build-directory, on both my machines.

On one machine I get this:
CMake Error: The source directory "/home/nolden/.kde4" does not appear to 
contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.

With the console output:
kdevelop(3663)/kdevelop (cmake support) CMakeBuildDirCreator::executeProcess: 
Executing: "which" :: ("cmake")
kdevelop(3663)/kdevelop (cmake support) CMakeBuildDirCreator::executeProcess: 
executed "which" < "/home/nolden/kdedev/4.0/qt-copy/bin/cmake"
kdevelop(3663)/kdevelop (cmake support) 
CMakeBuildDirCreator::isBuildDirProject: Something really strange happened 
at "/home/nolden/kdedev/4.0/build/kdebase//CMakeDirectoryInformation.cmake"
kdevelop(3663)/kdevelop (cmake support) 
CMakeBuildDirCreator::isBuildDirProject: Something really strange happened 
at "/home/nolden/kdedev/4.0/build/kdebase//CMakeDirectoryInformation.cmake"
kdevelop(3663)/kdecore (trader) KServiceTypeTrader::defaultOffers: 
KServiceTypeTrader: serviceType  "ThumbCreator"  not found
kdevelop(3663)/kdecore (trader) KServiceTypeTrader::defaultOffers: 
KServiceTypeTrader: serviceType  "ThumbCreator"  not found
kdevelop(3663)/kdevelop (cmake support debug) CMakeBuildDirCreator::runBegin: 
Type of build:  ""
kdevelop(3663)/kdevelop (cmake support debug) CMakeBuildDirCreator::runBegin: 
Installing to:  KUrl("")
kdevelop(3663)/kdevelop (cmake support debug) CMakeBuildDirCreator::runBegin: 
Build directory:  
KUrl("file:///home/nolden/kdedev/4.0/build/kdebase-workspace")

On another machine with kubuntu hardy, I cannot assign an already existing 
build-directory, I get this text at the bottom of the "Build Directory 
Creator" widget:
"The selected build directory is for another kind of project"
However there is no interesting console output.

When trying to create a new build-directory on that machine, I get the same 
error-output as the first message I've mentioned, except thet the directory 
is "/tmp" instead of "/home/nolden/.kde".


Did you accidentally temporarily break something, or into which direction 
should we continue investigating?

Greetings, David




More information about the KDevelop-devel mailing list