关闭杀毒软件的实时扫描功能,重新编译即可。具体参考:https://blog.csdn.net/weixin_44231114/article/details/105567562
为什么说代码没问题啊?