On Mon, Sep 28, 2009 at 4:02 PM, Bill Hoffman <bill.hoff...@kitware.com> wrote: > Mathieu Malaterre wrote: >> >> Hi there, >> >> I do not understand how regular expression are parsed to detect >> error. When I look at page: >> http://www.cdash.org/CDash/viewConfigure.php?buildid=437117 >> >> Clearly the error is hard to indentify. However if I open the >> CMakeError.log file: >> >> Determining if this is a free VC compiler failed with the following >> output: >> CMakeTestForFreeVC.cxx >> LINK : fatal error LNK1104: cannot open file 'msvcprt.lib' >> >> Determining if the C compiler works failed with the following output: >> >> >> Determining if this is a free VC compiler failed with the following >> output: >> CMakeTestForFreeVC.cxx >> LINK : fatal error LNK1104: cannot open file 'msvcprt.lib' >> >> Determining if the C compiler works failed with the following output: >> Change Dir: C:/users/mathieu/My >> Documents/Perso/gdcm/debug-wine/CMakeFiles/CMakeTmp >> >> Run Build Command:nmake /NOLOGO "cmTryCompileExec\fast" >> nmake -f CMakeFiles\cmTryCompileExec.dir\build.make /nologo -L >> CMakeFiles\cmTryCompileExec.dir\build >> >> "C:\Program Files\CMake 2.6\bin\cmake.exe" -E cmake_progress_report >> "C:\users\mathieu\My >> Documents\Perso\gdcm\debug-wine\CMakeFiles\CMakeTmp\CMakeFiles" 1 >> >> File not found >> >> >> NMAKE : fatal error U1077: '"C:\Program Files\CMake >> 2.6\bin\cmake.exe"' : return code '0x2331' >> >> Stop. >> >> NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform SDK >> for Windows Server 2003 R2\Bin\nmake.exe"' : return code '0x2' >> >> Stop. >> >> >> >> Why is the line >> >> LINK : fatal error LNK1104: cannot open file 'msvcprt.lib' >> >> discarded ? >> >> Thanks, > > Not sure... What do you get when you just run CMake on the project from the > command line? Does it have the error?
No, output has also been preprocessed. cmake ../trunk -G"NMake Makefiles" -- The C compiler identification is MSVC -- The CXX compiler identification is MSVC -- Check for CL compiler version -- Check for CL compiler version - 1310 -- Check if this is a free VC compiler -- Check if this is a free VC compiler - yes -- Check CL platform -- Check CL platform - 32 bit -- Using FREE VC TOOLS, NO DEBUG available -- Check for working C compiler: C:/Program Files/Microsoft Visual C++ Toolkit 2003/bin/cl.exe -- Check for working C compiler: C:/Program Files/Microsoft Visual C++ Toolkit 2003/bin/cl.exe -- broken CMake Error at C:/Program Files/CMake 2.6/share/cmake-2.6/Modules/CMakeTestCCompiler.cmake:32 (MESSAGE): The C compiler "C:/Program Files/Microsoft Visual C++ Toolkit 2003/bin/cl.exe" is not able to compile a simple test program. It fails with the following output: Change Dir: C:/users/mathieu/gdcm/debug-wine/CMakeFiles/CMakeTmp Run Build Command:nmake /NOLOGO "cmTryCompileExec\fast" nmake -f CMakeFiles\cmTryCompileExec.dir\build.make /nologo -L CMakeFiles\cmTryCompileExec.dir\build "C:\Program Files\CMake 2.6\bin\cmake.exe" -E cmake_progress_report C:\users\mathieu\gdcm\debug-wine\CMakeFiles\CMakeTmp\CMakeFiles 1 File not found NMAKE : fatal error U1077: '"C:\Program Files\CMake 2.6\bin\cmake.exe"' : return code '0x2331' Stop. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin\nmake.exe"' : return code '0x2' Stop. CMake will not be able to correctly generate this project. Call Stack (most recent call first): CMakeLists.txt:1 (PROJECT) -- Configuring incomplete, errors occurred! Thanks -- Mathieu _______________________________________________ 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://www.cmake.org/mailman/listinfo/cmake