CMake with Boost library Windows 10 Library not found correctly

前端 未结 2 1297
情书的邮戳
情书的邮戳 2021-01-03 12:41

Like many others i have problems using boost libraries with windows. On Ubuntu 16.04 it works all very well with libboost-all-dev but on windows i have many problems.

<
2条回答
  •  暖寄归人
    2021-01-03 13:07

    Or you could just tell boost which compiler to use by adding

    toolset=msvc-12.0

    (for MS 2013 v12, etc.)

    to the b2 command line :-)

提交回复
热议问题