I have downloaded Boost 1.55 and MinGW.
The console answers me that I haven't any command. I can't understand how to bind two paths and activate the GCC compiler.
P.S.: If I build boost with Microsoft's compiler I will have about 8 mistakes with error 3861!!
How can I build it?
First make sure your mingw's bin directory is in your environment PATH
so gcc
and g++
is callable from your command prompt. Afterwards go into your boost's root directory of where you extracted the files.
Follow that with a bootstrap + b2.exe to build. For example, let's say you only want to compile the regex portion of boost. The follow commands should do the trick:
bootstrap gcc
b2 toolset=gcc regex
You can use:
b2 --show-libraries
to get a listing of modules you can build individually. Of course you can build all of them with just:
b2 toolset=gcc
Check out Boost Invocation for a detailed list of available options.