kdelibs building...

Andreas Pakulat apaku at gmx.de
Sun Apr 8 21:31:46 CEST 2007


Hi,

just when you fixed one problem, the next one comes around the corner.
So here I sit with kdelibs not finding Qt4 :(

I didn't install Qt4 from qt-copy, as it seems thats not really working
on Windows (no install target for qmake for example).

It tells me it can't find QtCore and I guess this is because I built Qt4
with -debug (I don't need release build and I want to save the space).
Could that be a problem? The libs have the "d" appended.

The CMakeError file doesn't really contain something useful, but I
attach it anyway.

Andreas

-- 
This life is yours.  Some of it was given to you; the rest, you made yourself.
-------------- next part --------------
Determining if the Q_WS_X11 exist failed with the following output:
D:/MinGW/bin/mingw32-make.exe -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build

mingw32-make.exe[1]: Entering directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'

D:\MinGW\CMake2.4\bin\cmake.exe -E cmake_progress_report D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CMakeFiles 1

Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.obj

D:\MinGW\bin\gcc.exe  -ID:\MinGW\sources\qt-copy\include   -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.obj   -c D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c

D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c: In function `main':

D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c:8: error: `Q_WS_X11' undeclared (first use in this function)

D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once

D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c:8: error: for each function it appears in.)

mingw32-make.exe[1]: Leaving directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'

mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.obj] Error 1

mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2


File D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_X11
  cmakeRequireSymbol(0,&Q_WS_X11);
#endif
  return 0;
}

Determining if the Q_WS_MAC exist failed with the following output:
D:/MinGW/bin/mingw32-make.exe -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build

mingw32-make.exe[1]: Entering directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'

D:\MinGW\CMake2.4\bin\cmake.exe -E cmake_progress_report D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CMakeFiles 1

Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.obj

D:\MinGW\bin\gcc.exe  -ID:\MinGW\sources\qt-copy\include   -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.obj   -c D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c

D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c: In function `main':

D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c:8: error: `Q_WS_MAC' undeclared (first use in this function)

D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c:8: error: (Each undeclared identifier is reported only once

D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c:8: error: for each function it appears in.)

mingw32-make.exe[1]: *** [CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.obj] Error 1

mingw32-make.exe[1]: Leaving directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'

mingw32-make.exe: *** [cmTryCompileExec/fast] Error 2


File D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_MAC
  cmakeRequireSymbol(0,&Q_WS_MAC);
#endif
  return 0;
}

-------------- next part --------------
The system is: Windows - 5.1 - x86
Determining if the C compiler is GNU succeeded with the following output:
# 1 "D:/MinGW/CMake2.4/share/cmake-2.4/Modules/CMakeTestGNU.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "D:/MinGW/CMake2.4/share/cmake-2.4/Modules/CMakeTestGNU.c"

void THIS_IS_GNU();


void THIS_IS_MINGW();

Determining if the C++ compiler is GNU succeeded with the following output:
# 1 "D:/MinGW/CMake2.4/share/cmake-2.4/Modules/CMakeTestGNU.c"
# 1 "<built-in>"
# 1 "<command line>"
# 1 "D:/MinGW/CMake2.4/share/cmake-2.4/Modules/CMakeTestGNU.c"

void THIS_IS_GNU();


void THIS_IS_MINGW();

Determining if the C compiler works passed with the following output:
D:/MinGW/bin/mingw32-make.exe -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build

mingw32-make.exe[1]: Entering directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'

D:\MinGW\CMake2.4\bin\cmake.exe -E cmake_progress_report D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CMakeFiles 1

Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj

D:\MinGW\bin\gcc.exe   -o CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj   -c D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\testCCompiler.c

Linking C executable cmTryCompileExec.exe

D:\MinGW\CMake2.4\bin\cmake.exe -P CMakeFiles\cmTryCompileExec.dir\cmake_clean_target.cmake

D:\MinGW\bin\gcc.exe         "CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj"   -o cmTryCompileExec.exe -Wl,--major-image-version,0,--minor-image-version,0  

mingw32-make.exe[1]: Leaving directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'



Determining size of void* passed with the following output:
D:/MinGW/bin/mingw32-make.exe -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build

mingw32-make.exe[1]: Entering directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'

D:\MinGW\CMake2.4\bin\cmake.exe -E cmake_progress_report D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CMakeFiles 1

Building C object CMakeFiles/cmTryCompileExec.dir/CheckTypeSize.obj

D:\MinGW\bin\gcc.exe   -o CMakeFiles/cmTryCompileExec.dir/CheckTypeSize.obj   -c D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckTypeSize.c

Linking C executable cmTryCompileExec.exe

D:\MinGW\CMake2.4\bin\cmake.exe -P CMakeFiles\cmTryCompileExec.dir\cmake_clean_target.cmake

D:\MinGW\bin\gcc.exe         "CMakeFiles/cmTryCompileExec.dir/CheckTypeSize.obj"   -o cmTryCompileExec.exe -Wl,--major-image-version,0,--minor-image-version,0  

mingw32-make.exe[1]: Leaving directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'



Determining if the CXX compiler works passed with the following output:
D:/MinGW/bin/mingw32-make.exe -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build

mingw32-make.exe[1]: Entering directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'

D:\MinGW\CMake2.4\bin\cmake.exe -E cmake_progress_report D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CMakeFiles 1

Building CXX object CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.obj

D:\MinGW\bin\g++.exe    -o CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.obj -c D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\testCXXCompiler.cxx

Linking CXX executable cmTryCompileExec.exe

D:\MinGW\CMake2.4\bin\cmake.exe -P CMakeFiles\cmTryCompileExec.dir\cmake_clean_target.cmake

D:\MinGW\bin\g++.exe          "CMakeFiles/cmTryCompileExec.dir/testCXXCompiler.obj"   -o cmTryCompileExec.exe -Wl,--major-image-version,0,--minor-image-version,0  

mingw32-make.exe[1]: Leaving directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'



Determining if the Q_WS_WIN exist passed with the following output:
D:/MinGW/bin/mingw32-make.exe -f CMakeFiles/cmTryCompileExec.dir/build.make CMakeFiles/cmTryCompileExec.dir/build

mingw32-make.exe[1]: Entering directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'

D:\MinGW\CMake2.4\bin\cmake.exe -E cmake_progress_report D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CMakeFiles 1

Building C object CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.obj

D:\MinGW\bin\gcc.exe  -ID:\MinGW\sources\qt-copy\include   -o CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.obj   -c D:\MinGW\sources\kdelibs\build\CMakeFiles\CMakeTmp\CheckSymbolExists.c

Linking C executable cmTryCompileExec.exe

D:\MinGW\CMake2.4\bin\cmake.exe -P CMakeFiles\cmTryCompileExec.dir\cmake_clean_target.cmake

D:\MinGW\bin\gcc.exe         "CMakeFiles/cmTryCompileExec.dir/CheckSymbolExists.obj"   -o cmTryCompileExec.exe -Wl,--major-image-version,0,--minor-image-version,0  

mingw32-make.exe[1]: Leaving directory `D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp'


File D:/MinGW/sources/kdelibs/build/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>

void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_WIN
  cmakeRequireSymbol(0,&Q_WS_WIN);
#endif
  return 0;
}



More information about the Kde-windows mailing list