問題: clion中默認不同文件夾之間代碼無法跳轉 解決: 在Run/Edit Configurations里修改Working directory為當前代碼的根目錄 image.png 在clion中reload cmake project 結果: 問題解決