QT编译,一直循环报错:file“xxxxx”has modification times xxxxx s in the future..

来源:互联网 发布:海南医学院怎么样知乎 编辑:程序博客网 时间:2024/06/06 06:38

这是因为一个项目从一个电脑拷贝的到另一个电脑上时,两个电脑的时钟不一致所致,修改一下项目所在目录的修改时间即可:

find /your/dir -type f -exec touch {} +
然后再重新编译。

参见:http://stackoverflow.com/questions/23281050/makefile-warning-warning-file-main-cpp-has-modification-time-2-1e04-s-in-th

0 0