在linux上进行cmake或者ros编译时,如果系统时间被重置导致系统时间比上一次编译同一个文件的时间要小时,就会报下面的warning,导致编译失败
warning: Clock skew detected. Your build may be incomplete.
解决方法时linux联网同步时间
先用这个人的方法
https://blog.csdn.net/amcsc/article/details/84698312
如果报出ntpdate[2809]: no server suitable for synchronization found
这样的错再用这人的方法可以解决
https://blog.csdn.net/sinat_33588424/article/details/79342951