Root version 5.34.04; Windows 7 64-bit with VS2010 Express and CMake 2.8.7.
First, CMake runs fine. Then, it’s OK to open the ROOT.sln and build “ALL_BUILD”. I failed to build “INSTALL” with the error below:
158> -- Installing: D:/Exaos/Utils/ROOT/include/TSVG.h
158> -- Installing: D:/Exaos/Utils/ROOT/lib/mathtext.lib
158> CMake Error at graf2d/mathtext/cmake_install.cmake:44 (FILE):
158> file INSTALL cannot find
158> "D:/Exaos/Utils/Build-msvc10/root-5.34/bin/Debug/libmathtext.pdb".
158> Call Stack (most recent call first):
158> graf2d/cmake_install.cmake:36 (INCLUDE)
158> cmake_install.cmake:173 (INCLUDE)
158>
158>
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: 命令“setlocal
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: "C:\Program Files (x86)\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Debug -P cmake_install.cmake
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :cmEnd
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmEnd
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmErrorLevel
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: exit /b %1
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :cmDone
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: if %errorlevel% neq 0 goto :VCEnd
158>C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd”已退出,代码为 1。
========== 生成: 成功 157 个,失败 1 个,最新 34 个,跳过 0 个 ==========
What’s wrong with “graf2d/mathtext/cmake_install.cmake”?