Try to post some more information concerning your problem so we can help you (code snippets, logs, stack traces, etc.).
"error: ‘class pcl::UniformSampling<pcl::PointXYZRGB>’ has no member named ‘compute’"
Indeed the class UniformSampling has no compute() method. Classes inheriting from Filter base class implement applyFilter() as their "start button". As far as I know, the compute() method is the "start button" in classes deriving from Feature.