Hi David!<br><br>I worked on these features some days ago, maybe I screwed up something... :S<br><br>Where is your workspace.kdev4 file located? I assume it is at the root of the project, is that correct?<br><br><div class="gmail_quote">
On Feb 17, 2008 11:36 PM, David Nolden <<a href="mailto:zwabel@googlemail.com">zwabel@googlemail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Aleix! I have a few problems with cmake:<br>When importing a new project to cmake, in my case it's kdebase/workspace, I<br>cannot create a new build-directory, on both my machines.<br><br>On one machine I get this:<br>
CMake Error: The source directory "/home/nolden/.kde4" does not appear to<br>contain CMakeLists.txt.<br>Specify --help for usage, or press the help button on the CMake GUI.</blockquote><div><br>What configuration are you using?<br>
Giving a builddir should be enough, tomorrow I'll take a look at the bug, but seems that it is not passing correctly the source dir (which is trivial and that's what looks strange to me).<br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>With the console output:<br>kdevelop(3663)/kdevelop (cmake support) CMakeBuildDirCreator::executeProcess:<br>Executing: "which" :: ("cmake")<br>kdevelop(3663)/kdevelop (cmake support) CMakeBuildDirCreator::executeProcess:<br>
executed "which" < "/home/nolden/kdedev/4.0/qt-copy/bin/cmake"<br>kdevelop(3663)/kdevelop (cmake support)<br>CMakeBuildDirCreator::isBuildDirProject: Something really strange happened<br>at "/home/nolden/kdedev/4.0/build/kdebase//CMakeDirectoryInformation.cmake"<br>
kdevelop(3663)/kdevelop (cmake support)<br>CMakeBuildDirCreator::isBuildDirProject: Something really strange happened<br>at "/home/nolden/kdedev/4.0/build/kdebase//CMakeDirectoryInformation.cmake"<br>kdevelop(3663)/kdecore (trader) KServiceTypeTrader::defaultOffers:<br>
KServiceTypeTrader: serviceType  "ThumbCreator"  not found<br>kdevelop(3663)/kdecore (trader) KServiceTypeTrader::defaultOffers:<br>KServiceTypeTrader: serviceType  "ThumbCreator"  not found<br>kdevelop(3663)/kdevelop (cmake support debug) CMakeBuildDirCreator::runBegin:<br>
Type of build:  ""<br>kdevelop(3663)/kdevelop (cmake support debug) CMakeBuildDirCreator::runBegin:<br>Installing to:  KUrl("")<br>kdevelop(3663)/kdevelop (cmake support debug) CMakeBuildDirCreator::runBegin:<br>
Build directory:<br>KUrl("file:///home/nolden/kdedev/4.0/build/kdebase-workspace")<br><br>On another machine with kubuntu hardy, I cannot assign an already existing<br>build-directory, I get this text at the bottom of the "Build Directory<br>
Creator" widget:<br>"The selected build directory is for another kind of project"<br>However there is no interesting console output.<br><br>When trying to create a new build-directory on that machine, I get the same<br>
error-output as the first message I've mentioned, except thet the directory<br>is "/tmp" instead of "/home/nolden/.kde".<br></blockquote><div>Seems the same bug, the idea to check if it is the correct builddir is to check if the builddir is from the same source directory we are using, and the source directory seems to not be correct. <br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><br>Did you accidentally temporarily break something, or into which direction<br>should we continue investigating?<br>
<br>Greetings, David<br><br>_______________________________________________<br>KDevelop-devel mailing list<br><a href="mailto:KDevelop-devel@kdevelop.org">KDevelop-devel@kdevelop.org</a><br><a href="https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel" target="_blank">https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-devel</a><br>
</blockquote></div><br><br>Tomorrow I'll check that more deeply and I'll tell you something.<br><br>Good night,<br>Aleix<br>