针对你提到的错误信息 "directory specified in extra_component_dirs doesn't exist",这通常意味着在某个配置文件中指定的 extra_component_dirs 目录路径不存在。以下是根据你的提示,分点进行的详细解答: 确认extra_component_dirs指定的目录路径: 首先,你需要找到配置文件中 extra_component_dirs 的设置项。这通常...
1. When one of the COMPONENT_DIRS points to a component directory (i.e. a directory containing component.mk, not a directory of multiple components), and there is a subdirectory in it which also contains a component, the subdirectory was mistakenly added to the list of components and compile...
Code: Select all set(EXTRA_COMPONENT_DIRS foo) If, inside foo, I want to include a component from somewhere else, not in the current tree, is there a way to add another directory from within Foo's CMakeLists.txt? Something like: Code: Select all add(EXTRA_COMPONENT_DIRS bar)1...
set(EXTRA_COMPONENT_DIRS "../common") Depending on how “common” is structured. You may need to spell out “ common/minmea” in the above. Also, I have never seen a comma as a separator in a set command, but perhaps it is valid. Best Regardsn...