在Windows上安装OpenTLD安装INSTALL项目时出错?
问题描述:
- openTLD主项目建成没有错误。
- 的安装Project得到这个错误:
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)。所有其他项目已经建成,没有错误。在Windows上安装OpenTLD安装INSTALL项目时出错?
答
必须调用
setlocal "E:\CMake 2.8\bin\cmake.exe" -DBUILD_TYPE=Release -P cmake_install.cmake
在命令行上
为了看到更实用的错误消息。在你的情况下,你有错误,因为它没有足够的权限启动。
=>运行INSTALL build with administrative privileges
新年快乐!请安装并播放OpenTTD!或者,更严重的是,尝试在命令行中调用'setlocal “E:\ CMake 2.8 \ bin \ cmake.exe”-DBUILD_TYPE =发布-P cmake_install.cmake'来查看cmake是否提供了更有帮助的错误消息。 – ypnos
祝你新年快乐....! 我这样做,它有帮助。项目构建需要管理权限...谢谢! –