mingw编译boost_1_66_0

 1. 设置toolset=gcc

D:\boost_1_66_0>.\bootstrap.bat gcc
Building Boost.Build engine

Bootstrapping is done. To build, run:

    .\b2

To adjust configuration, edit 'project-config.jam'.
Further information:

    - Command line help:
    .\b2 --help

    - Getting started guide:
    http://boost.org/more/getting_started/windows.html

    - Boost.Build documentation:
    http://www.boost.org/build/doc/html/index.html

 

2.

'::hypot' has not been declared

修改cmath中std::hypot => std::_typot

posted @ 2017-12-26 14:05  tyanbin  阅读(565)  评论(0)    收藏  举报