定位到pcl_sleep的头文件pcl_macros.h,修改pcl_sleep的宏定义sleep(x) 为Sleep(x),【首字母大写】,编译成功: 具体原因请参考百度:sleep在windows与linux的区别;