我正在尝试构建 Boost 以使用文件系统库。
我知道我必须运行 bootstrap.bat (适用于 Windows)来创建 b2 应用程序,然后我应该运行它。
但我得到这个错误:
C:\Users\Andrei>D:\Info\include\boost_1_58_0\tools\build\bootstrap.bat
Bootstrapping the build engine
The system cannot find the path specified.
'.\build.bat' is not recognized as an internal or external command,
operable program or batch file.
Failed to bootstrap the build engine
Please consult bootstrap.log for furter diagnostics.
Run Code Online (Sandbox Code Playgroud)
我没有找到 build.bat 或日志文件..
我怎么解决这个问题 ?我读到我必须构建它才能获取文件系统库。这是真的吗?
非常感谢。
在执行 bootstrap.bat 之前,您应该cd进入 boost 构建目录。
尝试
cd D:\Info\include\boost_1_58_0\tools\build\
bootstrap.bat
Run Code Online (Sandbox Code Playgroud)