File–>Open–>找到并选中CMakeLists.txt,点ok–>Open as Project–>This Window 打开后,与本地磁盘目录结构完全一致. 运行代码,能正常输出,就没问题了.