最近碰到了一个错误,它在cmake中提示找不到的这个包,但经检查这个包其实是装了的,具体错误情况如下图所示。
CMake Error at XXX cmake 113 message:Project XXX specifies as an include dir, which is not found 经检查发现,这其实是路径冲突了,先前我在工作空间中装过这个包并编译过,后来又把原代码(src)删了,但devel/share中已经编译生成好的包却仍然还在,最后只要删除devel/share中已经编译过的包即可

相关文章:

  • 2021-10-06
  • 2022-12-23
  • 2021-10-26
  • 2021-12-10
  • 2022-12-23
  • 2022-12-23
  • 2021-12-28
  • 2022-12-23
猜你喜欢
  • 2021-04-02
  • 2022-12-23
  • 2021-05-27
  • 2022-12-23
  • 2021-06-27
  • 2022-12-23
  • 2021-11-27
相关资源
相似解决方案