解决 clion 导入别人的项目 报错:Cannot generate into xxx It is already used for project xxx

发布时间:2024-03-22 11:25:22 作者:yexindonglai@163.com 阅读(509)

问题

拷贝来一个别人的clion工程,打开 出现以下错误:

  1. Cannot generate into D:\all_projects\cpp_projects\test_queue
  2. It is already used for project \home\leozhou\Public\test_queue
  3. Please either delete it manually or select another generation directory

解决

在 clion idea中依次选择 Tools -> CMake -> Reset Cache And Reload Project

关键字c++