How to determine the Boost version on a system?

前端 未结 12 2205
暖寄归人
暖寄归人 2020-12-04 07:46

Is there a quick way to determine the version of the Boost C++ libraries on a system?

12条回答
  •  时光取名叫无心
    2020-12-04 08:15

    Boost installed on OS X using homebrew has desired version.hpp file in /usr/local/Cellar/boost//include/boost/version.hpp (note, that the version is already mentioned in path).

    I guess the fastest way to determine version on any UNIX-like system will be to search for boost in /usr:

    find /usr -name "boost"

提交回复
热议问题