需要先安装boost库
编译liblas1.8.1版本出现如下错误
error: ‘_1’ was not declared in this scope boost::bind( &SameVLRs, name, id, _1 ) ),
在报错文件下加上如下头文件:
#include <boost/bind/bind.hpp>
using namespace boost::placeholders;
会有两个文件都报错,添加头文件即可。
需要先安装boost库
编译liblas1.8.1版本出现如下错误
error: ‘_1’ was not declared in this scope boost::bind( &SameVLRs, name, id, _1 ) ),
在报错文件下加上如下头文件:
#include <boost/bind/bind.hpp>
using namespace boost::placeholders;
会有两个文件都报错,添加头文件即可。