加速安装失败:系统找不到指定的路径
Boost installation failed: The system cannot find the path specified
我无法安装最新版本的Boost
,即 1.61
.我所做的是在提示命令中从 boost 根文件夹运行" bootstrap.bat
"Windows 7
,但错误消息说:
构建提升引擎 系统找不到指定的路径。
无法构建 Boost.Build 引擎。请查阅引导程序.log 进一步诊断。
任何帮助表示赞赏!
如果你从 git 获得了提升,请确保你已经签出了任何相关的子模块。 就我而言,缺少的是工具/构建,我通过以下方式获得:
git submodule update --init -- "tools/build"
如果你不确定你需要什么,你也可以加载所有内容
git submodule update --init --recursive
我相信这不一定是Boost C++ Libraries或Boost.Build的问题,而是VS安装的问题。错误来自 vcvars64.bat:
@call "%VS120COMNTOOLS%VCVarsQueryRegistry.bat" No32bit 64bit
@if "%VCINSTALLDIR%"=="" goto error_no_VCINSTALLDIR
...
:error_no_VSINSTALLDIR
@echo ERROR: Cannot determine the location of the VS installation.
VCVarsQueryRegistry.bat脚本执行类似操作的地方
@for /F "tokens=1,2*" %%i in ('reg query "%1SOFTWAREMicrosoftVisualStudioSxSVS7" /v "12.0"') DO (
@if "%%i"=="12.0" (
@SET "VSINSTALLDIR=%%k"
)
)
您的注册表在HKLMSOFTWAREMicrosoftVisualStudioSxSVS7
和HKCUSOFTWAREMicrosoftVisualStudioSxSVS7
下有什么?无论如何,在这一点上听起来像是不完整的 VS 安装。
相关文章:
- CMake导出的库-在客户端应用程序中找不到include/Lib路径
- GNuPlot.exe找不到用于用 C++ 编写的路径
- 找不到 windows.winmd – 如果指定了路径,错误会乘以
- 运行可执行文件时找不到共享库,即使共享库存在于指定的路径中
- 为什么 cmake findBoost 找不到系统提升路径?
- C++流找不到相对路径
- 错误53:找不到文件,而是路径中存在所有DLL
- 使用Cmake时,Emscripten找不到全局路径
- Xmllint未设置,而在路径中找不到XMLLINT;跳过XML预处理
- 在英特尔C++编译器 (Linux) 的配置搜索路径中找不到文件可执行文件
- 即使定义了搜索路径,也找不到自定义共享库
- Windows找不到DLL在路径中的目录中以为其
- makefile 找不到来自 -I 包含路径的头文件
- VS2012:“找不到资源编译器DLL.请确保路径正确.”
- Maven NAR插件:在路径上找不到DLL依赖项
- G++ 找不到库,除非它是完整路径
- 在 Visual C++ 系统调用的路径中找不到可执行文件
- 加速安装失败:系统找不到指定的路径
- 路径正确,但找不到包含
- 为什么Qt Creator在包含的路径中找不到包含的标头 - 即使qmake能够找到它们