What errors exactly are you getting? I meant the call to look:

```cpp
pcl::ConditionalRemoval<PoinXYZ> condrem (pcl::ConditionBase<PointXYZ>::Ptr (range_cond));
```