[cmake-developers] Fwd: [Bug 375012] Re: Cmake is screwed building KDE Application
Bill Hoffman
bill.hoffman at kitware.com
Mon Nov 25 16:07:07 EST 2013
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 <375012 at bugs.launchpad.net>
Reply-To: Bug 375012 <375012 at bugs.launchpad.net>
To: cmake at 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
More information about the cmake-developers
mailing list