View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0009643CMakeCMakepublic2009-10-02 06:272016-06-10 14:31
ReporterMathieu Malaterre 
Assigned ToBrad King 
PrioritynormalSeveritymajorReproducibilityalways
StatusclosedResolutionmoved 
PlatformOSOS Version
Product VersionCMake-2-6 
Target VersionFixed in Version 
Summary0009643: Output is meaningless for missing file.
DescriptionCMake does not report the full error log.

CMake reports:

  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:\cygwin\home\mathieu\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.




While grepping in the error log one can find:


Determining if this is a free VC compiler failed with the following output:
CMakeTestForFreeVC.cxx
LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'

Determining if the C compiler works failed with the following output:
Change Dir: C:/cygwin/home/mathieu/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:\cygwin\home\mathieu\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.


Additional InformationClearly the important line is:

LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'


It should not be discarded from the output.


A simple way to reproduce is simply remove (rename) MSVCRT.lib to blaMSVCRT.lib


Thanks !
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0017891)
Mathieu Malaterre (developer)
2009-10-02 06:29

See also discussion at:

http://www.cmake.org/pipermail/cmake/2009-September/032251.html [^]
(0017897)
Brad King (manager)
2009-10-02 09:55

The line

  LINK : fatal error LNK1104: cannot open file 'MSVCRT.lib'

appears in the output of a different step. First it does "Determining if this is a free VC compiler" and logs this line. Then, in a totally separate try-compile, it does "Determining if the C compiler works", and is indeed reporting all the output from that failure.
(0030559)
Brad King (manager)
2012-08-13 10:44

Sending issues I'm not actively working on to the backlog to await someone with time for them.

If an issue you care about is sent to the backlog when you feel it should have been addressed in a different manner, please bring it up on the CMake mailing list for discussion. Sign up for the mailing list here, if you're not already on it:

 http://www.cmake.org/mailman/listinfo/cmake [^]

It's easy to re-activate a bug here if you can find a CMake developer or contributor who has the bandwidth to take it on.
(0041601)
Kitware Robot (administrator)
2016-06-10 14:27

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2009-10-02 06:27 Mathieu Malaterre New Issue
2009-10-02 06:29 Mathieu Malaterre Note Added: 0017891
2009-10-02 09:34 Bill Hoffman Status new => assigned
2009-10-02 09:34 Bill Hoffman Assigned To => Brad King
2009-10-02 09:55 Brad King Note Added: 0017897
2012-08-13 10:44 Brad King Status assigned => backlog
2012-08-13 10:44 Brad King Note Added: 0030559
2016-06-10 14:27 Kitware Robot Note Added: 0041601
2016-06-10 14:27 Kitware Robot Status backlog => resolved
2016-06-10 14:27 Kitware Robot Resolution open => moved
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team