在windows上的OpenTLD安装中生成INSTALL项目时出错

Error while building INSTALL project in OpenTLD installation on windows?

本文关键字:INSTALL 项目 出错 windows 上的 OpenTLD 安装      更新时间:2023-10-16
  • openTLD主项目 构建时没有出现错误
  • INSTALL项目 收到此错误:
Error 1   error MSB3073: The command "setlocal
"E:CMake 2.8bincmake.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 FilesMSBuildMicrosoft.Cppv4.0Microsoft.CppCommon.targets 113

这是openTLD项目(链接(。所有其他项目都是无错误构建的。

您必须调用

setlocal "E:CMake 2.8bincmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake 

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

=>运行INSTALL build with administrative privileges