RE: CMake 2.4.0 beta is ready
At 05:51 AM 4/19/2006, you wrote: Let me know if there are any issues. It's not working for MSVC (NMake generator): Until 2.4.1 comes out, I have put a temporary fix for MSVC nmake on the download site: http://www.cmake.org/files/v2.4/Windows-cl.cmake To use this file first install http://www.cmake.org/files/v2.4/cmake-2.4.0-win32.exe Then copy Windows-cl.cmake into the share/CMake/Modules/Platform/ directory over the existing copy of the file. Then things should work with nmake and visual studio 8. -Bill ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
RE: CMake 2.4.0 beta is ready
At 08:43 AM 4/20/2006, William A. Hoffman wrote: At 05:51 AM 4/19/2006, you wrote: Let me know if there are any issues. It's not working for MSVC (NMake generator): Until 2.4.1 comes out, I have put a temporary fix for MSVC nmake on the download site: http://www.cmake.org/files/v2.4/Windows-cl.cmake To use this file first install http://www.cmake.org/files/v2.4/cmake-2.4.0-win32.exe Then copy Windows-cl.cmake into the share/CMake/Modules/Platform/ directory over the existing copy of the file. Then things should work with nmake and visual studio 8. I just noticed a problem in the first file I put up. If you have already downloaded this file, get it again. The correct file is this one: 14291 Apr 20 10:01 Windows-cl.cmake -Bill ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
RE: CMake 2.4.0 beta is ready
-Original Message- From: William A. Hoffman [mailto:[EMAIL PROTECTED] Sent: terça-feira, 18 de Abril de 2006 22:24 To: kde-buildsystem@kde.org Subject: CMake 2.4.0 beta is ready CMake 2.4.0 beta is ready for testing with kdelibs. The windows installer is here: http://www.cmake.org/files/v2.4/cmake-2.4.0-win32.exe The UNIX source is here: http://www.cmake.org/files/v2.4/cmake-2.4.0.tar.gz Let me know if there are any issues. It's not working for MSVC (NMake generator): -- Check for CL compiler version -- Check for CL compiler version - 1400 -- Check if this is a free VC compiler -- Check if this is a free VC compiler - no -- Check CL platform -- Check CL platform - 32 bit -- Check for working C compiler: cl -- Check for working C compiler: cl -- broken The C compiler cl is not able to compile a simple test program. It fails with the following output: C:\Program Files\CMake\bin\cmake.exe -HD:\kde\vc++\kdelibs-build\CMake Files\CMakeTmp -BD:\kde\vc++\kdelibs-build\CMakeFiles\CMakeTmp --check-build-sys tem CMakeFiles\Makefile.cmake 0 C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe -f CMakeFi les/Makefile2 /nologo -L cmTryCompileExec C:\Program Files\CMake\bin\cmake.exe -HD:\kde\vc++\kdelibs-build\CMake Files\CMakeTmp -BD:\kde\vc++\kdelibs-build\CMakeFiles\CMakeTmp --check-build-sys tem CMakeFiles\Makefile.cmake 0 C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe -f CMakeFi les/Makefile2 /nologo -L CMakeFiles\cmTryCompileExec.dir\all C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe -f CMakeFi les\cmTryCompileExec.dir/build.make /nologo -L CMakeFiles\cmTry CompileExec.dir\depend Scanning dependencies of target cmTryCompileExec C:\Program Files\CMake\bin\cmake.exe -E cmake_depends NMake Makefile s D:\kde\vc++\kdelibs-build\CMakeFiles\CMakeTmp D:\kde\vc++\kdelibs-build\CMake Files\CMakeTmp D:\kde\vc++\kdelibs-build\CMakeFiles\CMakeTmp\CMakeFiles\cmTryCom pileExec.dir\DependInfo.cmake C:\Program Files\Microsoft Visual Studio 8\VC\BIN\nmake.exe -f CMakeFi les\cmTryCompileExec.dir/build.make /nologo -L CMakeFiles\cmTry CompileExec.dir\build Building C object CMakeFiles/cmTryCompileExec.dir/testCCompiler.obj C:\PROGRA~1\MID05A~1\VC\bin\cl.exe @C:\DOCUME~1\pjguedes\LOCALS~1\Temp\ nm4.tmp cl : Command line warning D9035 : option 'GZ' has been deprecated and will be re moved in a future release cl : Command line warning D9036 : use 'RTC1' instead of 'GZ' testCCompiler.c Linking C executable cmTryCompileExec.exe C:\Program Files\CMake\bin\cmake.exe -P CMakeFiles\cmTryCompileExec.di r\cmake_clean_target.cmake C:\PROGRA~1\MID05A~1\VC\bin\cl.exe /nologo @C:\DOCUME~1\pjguedes\LOCALS ~1\Temp\nm5.tmp cl : Command line warning D9035 : option 'GZ' has been deprecated and will be re moved in a future release cl : Command line warning D9036 : use 'RTC1' instead of 'GZ' LINK : fatal error LNK1104: cannot open file 'odbc32.lib' NMAKE : fatal error U1077: 'C:\PROGRA~1\MID05A~1\VC\bin\cl.exe' : return code '0 x2' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n make.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n make.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: 'C:\Program Files\Microsoft Visual Studio 8\VC\BIN\n make.exe' : return code '0x2' Stop. With MinGW seems alright. Paulo ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
RE: CMake 2.4.0 beta is ready
-Original Message- From: Paulo Jorge Guedes [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 19 de Abril de 2006 10:52 To: kde-buildsystem@kde.org Subject: RE: CMake 2.4.0 beta is ready It's not working for MSVC (NMake generator): [...] With MinGW seems alright. Visual Studio 8 2005 generator is fine too. Paulo P.S.: The gcc output is much better, great job! ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
RE: CMake 2.4.0 beta is ready
At 06:41 AM 4/19/2006, Paulo Jorge Guedes wrote: -Original Message- From: Paulo Jorge Guedes [mailto:[EMAIL PROTECTED] Sent: quarta-feira, 19 de Abril de 2006 10:52 To: kde-buildsystem@kde.org Subject: RE: CMake 2.4.0 beta is ready It's not working for MSVC (NMake generator): [...] With MinGW seems alright. Visual Studio 8 2005 generator is fine too. nmake and vs 8 2005 seem to be broken in 2.4.0. I will fix it this morning. -Bill ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem
Re: CMake 2.4.0 beta is ready
On Tuesday 18 April 2006 23:24, William A. Hoffman wrote: CMake 2.4.0 beta is ready for testing with kdelibs. The windows installer is here: http://www.cmake.org/files/v2.4/cmake-2.4.0-win32.exe The UNIX source is here: http://www.cmake.org/files/v2.4/cmake-2.4.0.tar.gz Let me know if there are any issues. -Bill CMakeError.log is missing lots of lines at the beginning (when building kdemultimedia). The attached patch fixes the problems for me. /Richard diff -ru cmake-2.4.0.bak/Modules/CheckCSourceCompiles.cmake cmake-2.4.0/Modules/CheckCSourceCompiles.cmake --- cmake-2.4.0.bak/Modules/CheckCSourceCompiles.cmake 2006-04-19 16:42:36.0 +0200 +++ cmake-2.4.0/Modules/CheckCSourceCompiles.cmake 2006-04-19 16:55:50.0 +0200 @@ -43,17 +43,17 @@ IF(${VAR}) SET(${VAR} 1 CACHE INTERNAL Test ${FUNCTION}) MESSAGE(STATUS Performing Test ${VAR} - Success) - FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeOutput.log + FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeOutput.log Performing C SOURCE FILE Test ${VAR} succeded with the following output:\n ${OUTPUT}\n -Source file was:\n${SOURCE}\n APPEND) +Source file was:\n${SOURCE}\n) ELSE(${VAR}) MESSAGE(STATUS Performing Test ${VAR} - Failed) SET(${VAR} CACHE INTERNAL Test ${FUNCTION}) - FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeError.log + FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeError.log Performing C SOURCE FILE Test ${VAR} failed with the following output:\n ${OUTPUT}\n -Source file was:\n${SOURCE}\n APPEND) +Source file was:\n${SOURCE}\n) ENDIF(${VAR}) ENDIF(${VAR} MATCHES ^${VAR}$) ENDMACRO(CHECK_C_SOURCE_COMPILES) diff -ru cmake-2.4.0.bak/Modules/CheckCXXSourceCompiles.cmake cmake-2.4.0/Modules/CheckCXXSourceCompiles.cmake --- cmake-2.4.0.bak/Modules/CheckCXXSourceCompiles.cmake 2006-04-19 16:42:36.0 +0200 +++ cmake-2.4.0/Modules/CheckCXXSourceCompiles.cmake 2006-04-19 16:54:01.0 +0200 @@ -43,17 +43,17 @@ IF(${VAR}) SET(${VAR} 1 CACHE INTERNAL Test ${FUNCTION}) MESSAGE(STATUS Performing Test ${VAR} - Success) - FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log + FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeOutput.log Performing C++ SOURCE FILE Test ${VAR} succeded with the following output:\n ${OUTPUT}\n -Source file was:\n${SOURCE}\n APPEND) +Source file was:\n${SOURCE}\n) ELSE(${VAR}) MESSAGE(STATUS Performing Test ${VAR} - Failed) SET(${VAR} CACHE INTERNAL Test ${FUNCTION}) - FILE(WRITE ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log + FILE(APPEND ${CMAKE_BINARY_DIR}/CMakeFiles/CMakeError.log Performing C++ SOURCE FILE Test ${VAR} failed with the following output:\n ${OUTPUT}\n -Source file was:\n${SOURCE}\n APPEND) +Source file was:\n${SOURCE}\n) ENDIF(${VAR}) ENDIF(${VAR} MATCHES ^${VAR}$) ENDMACRO(CHECK_CXX_SOURCE_COMPILES) ___ Kde-buildsystem mailing list Kde-buildsystem@kde.org https://mail.kde.org/mailman/listinfo/kde-buildsystem