简体   繁体   English

无法在 windows 中安装 c++ 的升压库

[英]not able to install boost library for c++ in windows

I am trying to install boost library for c++ in windows.我正在尝试在 windows 中安装 c++ 的 boost 库。 I am using a GCC compiler.我正在使用 GCC 编译器。 I searched for it on the internet but everywhere the only installation of boost library in visual studio is given.我在互联网上搜索了它,但到处都给出了在 Visual Studio 中唯一安装的 boost 库。 I found somewhere to go to boost/tools/build and then to run bootstrap.sh, but the following error is being shown:我在 go 的某个地方找到了 boost/tools/build 然后运行 bootstrap.sh,但显示以下错误:

C:\Program Files\boost_1_73_0\tools\build>bootstrap.sh The system cannot execute the specified program.

How should I resolve this issue?我应该如何解决这个问题?

https://www.boost.org/doc/libs/1_73_0/more/getting_started/windows.html#install-boost-build https://www.boost.org/doc/libs/1_73_0/more/getting_started/windows.html#install-boost-build

here is instruction to install boost on windows.这是在 windows 上安装升压的说明。 File you want to open is shell script (probably taken from Linux instructions), which generally should not be called on Windows.您要打开的文件是 shell 脚本(可能取自 Linux 指令),通常不应在 Windows 上调用。 Use bootstrap.bat instead.请改用 bootstrap.bat。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM