FYI.


-------- Original Message --------
Subject: [Bug 375012] Re: Cmake is screwed building KDE Application
Date: Mon, 25 Nov 2013 20:38:35 -0000
From: Launchpad Bug Tracker <375...@bugs.launchpad.net>
Reply-To: Bug 375012 <375...@bugs.launchpad.net>
To: cm...@packages.qa.debian.org

Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: cmake (Ubuntu)
       Status: New => Confirmed

--
You received this bug notification because you are subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/375012

Title:
  Cmake is screwed building KDE Application

Status in “cmake” package in Ubuntu:
  Confirmed

Bug description:
  Binary package hint: cmake

  Hello,
i'm developing Kde app, but cmake in Kubuntu 9.04 x86_64 is all screwed. First error:

CMake Error: The following variables are used in this project, but they are set to NOTFOUND. Please set them or make sure they are set and tested correctly in the CMake files:
  QT_QT_INCLUDE_DIR
used as include directory in directory /home/adam/projects/db2client/build/CMakeFiles/CMakeTmp

  CMake Error: Internal CMake error, TryCompile configure of cmake failed
CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1059 (message):

    Could not compile simple test program:
     #include <QtCore/QtGlobal>
     int main()
     {
     #ifdef QT_VISIBILITY_AVAILABLE
     return 0;
     #else
     return 1;
     #endif
     }


  Call Stack (most recent call first):
    /usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
    CMakeLists.txt:7 (find_package)

  After adding
  set(QT_QT_INCLUDE_DIR /usr/include/qt4/)

  into my CMakeLists.txt, the following happens:

CMake Error: Generator: execution of make failed. Make command was: /usr/bin/gmake "cmTryCompileExec/fast" CMake Error at /usr/share/kde4/apps/cmake/modules/FindKDE4Internal.cmake:1059 (message):
    Could not compile simple test program:

     #include <QtCore/QtGlobal>
     int main()
     {
     #ifdef QT_VISIBILITY_AVAILABLE
     return 0;
     #else
     return 1;
     #endif
     }


    Change Dir: /home/adam/projects/db2client/build/CMakeFiles/CMakeTmp


    Run Build Command:/usr/bin/gmake "cmTryCompileExec/fast"

    No such file or directory

    Generator: execution of make failed.  Make command was: /usr/bin/gmake
    "cmTryCompileExec/fast"

  Call Stack (most recent call first):
    /usr/share/cmake-2.6/Modules/FindKDE4.cmake:81 (FIND_PACKAGE)
    CMakeLists.txt:7 (find_package)

  Now what? Make symlink to make?

  There seems to be something very wrong in ubuntu Cmake, in Fedora it
  builds fine.

  Thanks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cmake/+bug/375012/+subscriptions





--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers

Reply via email to