noo*_*ert 12 c++ visual-studio dcmtk
大家.我在Visual Studio 2013中编译DCMTK 3.6.1.我的操作系统是Windows 8.我还使用了CMake 3.2.3.我已经成功编译了ALL_BUILD项目的两个x64版本的调试和发布.但是,对于INSTALL项目,我无法编译它,因为发生以下错误:
Error 1 error MSB3073: The command "setlocal
"C:\Program Files (x86)\CMake\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 (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.CppCommon.targets 132
Run Code Online (Sandbox Code Playgroud)
根据此链接,我需要管理员权限.但我已经在管理模式下运行Visual Studio.有人可以告诉我我可能做错了什么吗?非常感谢你!
小智 6
这是一篇旧帖子,但当我尝试使用 VS 16 2019 在靠近 C: 根目录的文件夹中安装适用于 Windows 10 的 OpenCV 时,遇到了同样的问题。
解决方案:以管理员身份打开 cmd,打开 SLN 项目(在我的例子中为 <OpenCV.sln>),然后在 INSTALL 上运行 Build。这就像一个魅力。
| 归档时间: |
|
| 查看次数: |
19603 次 |
| 最近记录: |