简体   繁体   English

促进Windows和mingw上的安装

[英]Boost installation on windows and mingw

I downloaded the zip file of this page: http://sourceforge.net/projects/boost/files/boost/1.55.0/ to install Boost 1.55.0 in my computer (I use Windows 7) and I unpacked it in C:\\boost_1_55_0. 我下载了此页面的zip文件: http : //sourceforge.net/projects/boost/files/boost/1.55​​.0/以在计算机上安装Boost 1.55.0(我使用Windows 7),然后用C解压缩:\\ boost_1_55_0。

But, I didn't know how to install it, so I found this page: http://www.boost.org/doc/libs/1_55_0/doc/html/bbv2/installation.html 但是,我不知道如何安装它,所以我找到了此页面: http : //www.boost.org/doc/libs/1_55_0/doc/html/bbv2/installation.html

When I type in cmd .\\bootstrap.bat it show this message: 当我输入cmd .\\bootstrap.bat ,显示以下消息:

Building Boost.Build engine

"cl" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable

Failed to build Boost.Build engine

Then i try with bootstrap.bat mingw in cmd, it showed me this message: 然后我尝试在cmd中使用bootstrap.bat mingw ,它向我显示了此消息:

Building Boost.Build engine

"gcc" no se reconoce como un comando interno o externo, programa o archivo por lotes ejecutable

Failed to build Boost.Build engine

I don't know what to do. 我不知道该怎么办。

Additional info: 附加信息:

I use Code::Blocks 13 我使用Code :: Blocks 13

Mingw is in C:\\Archivos de programa\\CodeBlocks\\mingw Mingw在C:\\Archivos de programa\\CodeBlocks\\mingw

You are attempting to build boost using the visual studio compiler. 您正在尝试使用Visual Studio编译器构建增强功能。 You need to use the G++ compiler under mingw. 您需要在mingw下使用G ++编译器。

Here are the instructions. 这是说明。

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

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