c++ - Visual Studio:MSB307 错误以代码 1 退出
问题描述
我正在从源头 构建flann 。https://github.com/mariusmuja/flann
我使用 CMAKE 配置并生成了解决方案文件。构建 ALL_BUILD 项目后,当我尝试构建 INSTALL 项目时,出现以下错误:
> Error MSB3073 The command "setlocal "C:\Program > Files\CMake\bin\cmake.exe" -DBUILD_TYPE=Debug -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. INSTALL C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V140\Microsoft.CppCommon.targets 133
我试图从堆栈溢出中解决,但对我没有任何作用。 Visual Studio:MSB3073 错误以代码 1 退出
在使用 cmake 进行配置期间,我单击了 cmake gui 的 Add Entry 按钮,在 Name 选项上写了 CMAKE_INSTALL_PREFIX,从下拉列表中选择了路径,并在 value 选项上写了文件夹位置(不同)。附加值是>> D:\feasibilityAnalysis2020_3\Dpointcloud3Dvision\VSPCL3D\FLANN1
仍然显示错误。
环境:Windows 10;视觉工作室社区 2015;CMAKE 3.14.1
解决方案
推荐阅读
- javascript - 如何根据数据挂钩显示内容?
- javascript - 如何使用jquery获取带有箭头功能的元素的html
- python-3.x - 如何对失败的测试进行单元测试?
- c# - .NET Core WebAPI 应用程序在本地连接,但在服务器上失败并出现 SQL 网络接口错误:26 错误定位服务器/指定实例
- javascript - Golang 和 JavaScript 模块
- typescript - 开玩笑模拟打字稿导入作为依赖项
- python - 建立新连接失败 MAX 重试错误
- lua - 如何记录嵌套表访问/写入?
- ubuntu - 如何修复 CouchDB 复制验证错误?
- python - Pandas 数据框对唯一值进行排序