I'm using CMake 2.4.8 on Windows XP with Visual Studio 2005
About the log files. I had a look at them but I can't find anything of interest. I attached them to this mail, just in case.
Eric NOULARD schrieb:
Le Thu, 10 Apr 2008 16:27:31 +0200, Matthias Riechmann <[EMAIL PROTECTED]> a écrit :Here You are: project(HelloWorld) CMAKE_MINIMUM_REQUIRED(VERSION 2.4.0)May be you miss a ENABLE_LANGAGE(C) or ENABLE_LANGAGE(CXX) or project(HelloWorld CXX) or project(HelloWorld C) I don't think it is mandatory but ... otherwise I don't know :-)) Which version of CMake are you using on which platform? May be you can post CMake your CMakeFiles/CMakeOutput.log CMakeFiles/CMakeError.log (if they are not too big). And/or you may browse those file yourself, may be you can get a clue?
-- Dipl.-Inform. Matthias Riechmann Institut für Prozessrechentechnik, Automation und Robotik Medizin-Gruppe Universität Karlsruhe (TH) Gebäude 40.28, Zimmer 103 Engler-Bunte-Ring 8 76131 Karlsruhe Fon: +49 (721) 608-4049 Fax: +49 (721) 608-7141 Web: http://wwwipr.ira.uka.de/~richmann
Determining if the Q_WS_X11 exist failed with the following output:
Microsoft (R) Visual Studio Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32
------
1>Compiling...
1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for
80x86
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>cl /Od /I "C:\Qt\4.3.3\include" /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D
"CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd
/Fo"cmTryCompileExec.dir\Debug\\"
/Fd"D:/Development/Builds/HelloWorld/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb"
/W3 /c /Zi /TC /Zm1000
1> .\CheckSymbolExists.c
1>CheckSymbolExists.c
1>.\CheckSymbolExists.c(8) : error C2065: 'Q_WS_X11' : undeclared identifier
1>Build log was saved at
"file://d:\Development\Builds\HelloWorld\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
1>cmTryCompileExec - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
File D:/Development/Builds/HelloWorld/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_QWS exist failed with the following output:
Microsoft (R) Visual Studio Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32
------
1>Compiling...
1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for
80x86
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>cl /Od /I "C:\Qt\4.3.3\include" /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D
"CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd
/Fo"cmTryCompileExec.dir\Debug\\"
/Fd"D:/Development/Builds/HelloWorld/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb"
/W3 /c /Zi /TC /Zm1000
1> .\CheckSymbolExists.c
1>CheckSymbolExists.c
1>.\CheckSymbolExists.c(8) : error C2065: 'Q_WS_QWS' : undeclared identifier
1>Build log was saved at
"file://d:\Development\Builds\HelloWorld\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
1>cmTryCompileExec - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
File D:/Development/Builds/HelloWorld/CMakeFiles/CMakeTmp/CheckSymbolExists.c:
/* */
#include <QtCore/qglobal.h>
void cmakeRequireSymbol(int dummy,...){(void)dummy;}
int main()
{
#ifndef Q_WS_QWS
cmakeRequireSymbol(0,&Q_WS_QWS);
#endif
return 0;
}
Determining if the Q_WS_MAC exist failed with the following output:
Microsoft (R) Visual Studio Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32
------
1>Compiling...
1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for
80x86
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>cl /Od /I "C:\Qt\4.3.3\include" /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D
"CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd
/Fo"cmTryCompileExec.dir\Debug\\"
/Fd"D:/Development/Builds/HelloWorld/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb"
/W3 /c /Zi /TC /Zm1000
1> .\CheckSymbolExists.c
1>CheckSymbolExists.c
1>.\CheckSymbolExists.c(8) : error C2065: 'Q_WS_MAC' : undeclared identifier
1>Build log was saved at
"file://d:\Development\Builds\HelloWorld\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
1>cmTryCompileExec - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 1 up-to-date, 0 skipped ==========
File D:/Development/Builds/HelloWorld/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;
}
The system is: Windows - 5.1 - x86
Determining if the C compiler works passed with the following output:
Microsoft (R) Visual Studio Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32
------
1>Compiling...
1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for
80x86
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D
"_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\"
/Fd"D:/Development/Builds/HelloWorld/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb"
/W3 /c /Zi /TC /Zm1000
1> .\testCCompiler.c
1>testCCompiler.c
1>Compiling manifest to resources...
1>Linking...
1>Embedding manifest...
1>Build log was saved at
"file://d:\Development\Builds\HelloWorld\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
1>cmTryCompileExec - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
Determining size of void* passed with the following output:
Microsoft (R) Visual Studio Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32
------
1>Compiling...
1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for
80x86
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D
"_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\"
/Fd"D:/Development/Builds/HelloWorld/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb"
/W3 /c /Zi /TC /Zm1000
1> .\CheckTypeSize.c
1>CheckTypeSize.c
1>Compiling manifest to resources...
1>Linking...
1>Embedding manifest...
1>Build log was saved at
"file://d:\Development\Builds\HelloWorld\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
1>cmTryCompileExec - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
Determining if the CXX compiler works passed with the following output:
Microsoft (R) Visual Studio Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32
------
1>Compiling...
1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for
80x86
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>cl /Od /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D "CMAKE_INTDIR=\"Debug\"" /D
"_MBCS" /FD /EHsc /RTC1 /MDd /Fo"cmTryCompileExec.dir\Debug\\"
/Fd"D:/Development/Builds/HelloWorld/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb"
/W3 /c /Zi /TP /Zm1000
1> .\testCXXCompiler.cxx
1>testCXXCompiler.cxx
1>Compiling manifest to resources...
1>Linking...
1>Embedding manifest...
1>Build log was saved at
"file://d:\Development\Builds\HelloWorld\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
1>cmTryCompileExec - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
Determining if the Q_WS_WIN exist passed with the following output:
Microsoft (R) Visual Studio Version 8.0.50727.42.
Copyright (C) Microsoft Corp 1984-2005. All rights reserved.
1>------ Build started: Project: cmTryCompileExec, Configuration: Debug Win32
------
1>Compiling...
1>Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 14.00.50727.42 for
80x86
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>cl /Od /I "C:\Qt\4.3.3\include" /D "WIN32" /D "_WINDOWS" /D "_DEBUG" /D
"CMAKE_INTDIR=\"Debug\"" /D "_MBCS" /FD /EHsc /RTC1 /MDd
/Fo"cmTryCompileExec.dir\Debug\\"
/Fd"D:/Development/Builds/HelloWorld/CMakeFiles/CMakeTmp/Debug/cmTryCompileExec.pdb"
/W3 /c /Zi /TC /Zm1000
1> .\CheckSymbolExists.c
1>CheckSymbolExists.c
1>Compiling manifest to resources...
1>Linking...
1>Embedding manifest...
1>Build log was saved at
"file://d:\Development\Builds\HelloWorld\CMakeFiles\CMakeTmp\cmTryCompileExec.dir\Debug\BuildLog.htm"
1>cmTryCompileExec - 0 error(s), 0 warning(s)
========== Build: 1 succeeded, 0 failed, 1 up-to-date, 0 skipped ==========
File D:/Development/Builds/HelloWorld/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;
}
begin:vcard fn:Matthias Riechmann n:Riechmann;Matthias org;quoted-printable;quoted-printable:Universit=C3=A4t Karlsruhe (TH);Institut f=C3=BCr Prozessrechentechnik, Automation und Robotik - Medizin-= Gruppe adr;quoted-printable;quoted-printable:Engler-Bunte-Ring 8;;Geb=C3=A4ude 40.28, Zimmer 103;Karlsruhe;Baden-W=C3=BCrttemberg;76131;Germany email;internet:[EMAIL PROTECTED] title:Dipl.-Inform. tel;work:+49 (721) 608-4049 tel;fax:+49 (721) 608-7141 url:http://wwwipr.ira.uka.de/~richmann version:2.1 end:vcard
smime.p7s
Description: S/MIME Cryptographic Signature
_______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
