Imported target “xxxxxxx“ includes non-existent path
Posted flying_music
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Imported target “xxxxxxx“ includes non-existent path相关的知识,希望对你有一定的参考价值。
CMake Error in CMakeLists.txt:
Imported target "xxxxxxx" includes non-existent path
"some/path/"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
原因:我遇到的是第二种,在docker里编译的,第一次指令敲错了没成功,再执行就报这个错。
解决:退出docker,重新登录再编译。
以上是关于Imported target “xxxxxxx“ includes non-existent path的主要内容,如果未能解决你的问题,请参考以下文章
Imported target “xxxxxxx“ includes non-existent path
Imported target “dart“ includes non-existent path 笔记
Imported target “dart“ includes non-existent path 笔记