1.安装PCL brew install pcl 2.math.h错误 发现如下错误: /Library/Developer/CommandLineTools/usr/include/c++/v1/cmath:313:9: error: no member named 'signbit' in the global namespace using ::signbit; 解决方法: 重新安装最新版本的command_line_tools,然后报错问题就解决了。