在Windows上的OpenTLD安装中构建INSTALL项目时出错?

时间:2013-01-06 14:46:54

标签: c++ visual-studio-2010 cmake

  • openTLD主项目 的构建没有错误。
  • INSTALL项目 出现此错误:
Error 1   error MSB3073: The command "setlocal
"E:\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
if %errorlevel% neq 0 goto :cmEnd
:cmEnd
endlocal & call :cmErrorLevel %errorlevel% & goto :cmDone
:cmErrorLevel
exit /b %1
:cmDone
if %errorlevel% neq 0 goto :VCEnd
:VCEnd" exited with code 1. C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets 113

以下是 openTLD项目 LINK)。所有其他项目都是在没有错误的情况下构建的。

1 个答案:

答案 0 :(得分:0)

你必须致电

setlocal "E:\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake 
在命令行上

以查看更多有用的错误消息。在您的情况下,您收到错误,因为它没有以足够的权限启动。

=> 运行INSTALL build with administrative privileges