你如何检查提振版本? [英] how do you check your version of boost?

查看:95
本文介绍了你如何检查提振版本?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要我的Boost库的版本1.40。如何检查我的版本Boost库的?

I need to have my boost library in a version of 1.40. How do I check my version of the boost library?

我试图编译PCL库,像<一个描述href=\"http://pointclouds.org/downloads/source.html\">http://pointclouds.org/downloads/source.html.

I am trying to compile the PCL library, like described in http://pointclouds.org/downloads/source.html.

推荐答案

好了,看看你的 升压/ version.hpp 。有 BOOST_VERSION 宏是:

Well, take a look at your boost/version.hpp. There is BOOST_VERSION macro for that:

// Example: for boost 1.55.0, taken from boost/version.hpp
//  BOOST_VERSION % 100 is the patch level
//  BOOST_VERSION / 100 % 1000 is the minor version
//  BOOST_VERSION / 100000 is the major version
#define BOOST_VERSION 105500

这篇关于你如何检查提振版本?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆