The answer to the problem can be found here :
Secondly, at some point, the library will need a message compilation tool (mc.exe), which is not available in MinGW, Cygwin, and MSVC Express Edition. You have two options for solving the problem. In the case of MinGW and Cygwin, you can use the windmc.exe tool, which is similar to the original mc.exe. For this you will need Boost.Build Files (in particular, the tools / build / v 2 / tools / mc.jam file), as described in this ticket. After that, you can specify the parameter mc-compiler = windmc for bjam to create the library.
Here is the link to patch . Applying the patch and passing mc-compiler=windmc should solve the problem.
Note: Also, as noted in the comments on the ticket , you need to add import mc ; after import fortran ; in tools\build\v2\tools\gcc.jam .
Here's what your mc.jam file looks like after applying the patch (make sure your file looks like this):
import common ; import generators ; import feature : feature get-values ; import toolset : flags ; import type ; import rc ; feature.feature mc-compiler : mc windmc : propagated ; feature.set-default mc-compiler : mc ; rule init ( ) { } type.register MC : mc ; # Command line options feature mc-input-encoding : ansi unicode : free ; feature mc-output-encoding : unicode ansi : free ; feature mc-set-customer-bit : no yes : free ; flags mc.compile MCFLAGS <mc-input-encoding>ansi : -a ; flags mc.compile MCFLAGS <mc-input-encoding>unicode : -u ; flags mc.compile MCFLAGS <mc-output-encoding>ansi : -A ; flags mc.compile MCFLAGS <mc-output-encoding>unicode : -U ; flags mc.compile MCFLAGS <mc-set-customer-bit>no : ; flags mc.compile MCFLAGS <mc-set-customer-bit>yes : -c ; generators.register-standard mc.compile.mc : MC : H RC : <mc-compiler>mc ; generators.register-standard mc.compile.windmc : MC : H RC : <mc-compiler>windmc ; actions compile.mc { mc $(MCFLAGS) -h "$(<[1]:DW)" -r "$(<[2]:DW)" "$(>:W)" } actions compile.windmc { windmc $(MCFLAGS) -h "$(<[1]:DW)" -r "$(<[2]:DW)" "$(>:W)" }
Attention
boost-log\branches\bleeding-edge will not compile for me (gcc 4.7.1). I used one in boost-log\trunk\boost-log for a successful build (built on 2012-09-05).
source share