[CMake] LINK : fatal error LNK1104: cannot open file 'msvcprt.lib'

Mathieu Malaterre mathieu.malaterre at gmail.com
Mon Sep 28 09:51:25 EDT 2009


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,
-- 
Mathieu


More information about the CMake mailing list