mirror of
https://github.com/espressif/esp-idf
synced 2025-03-09 17:19:09 -04:00
Merge branch 'fix/missing_header_hint_v5.4' into 'release/v5.4'
fix(hints): improve suggestion for missing header file (v5.4) See merge request espressif/esp-idf!36043
This commit is contained in:
commit
ed9f2827cc
@ -144,7 +144,9 @@ def generate_hint(output: str) -> Optional[str]:
|
|||||||
candidates = ', '.join(candidate_component_include_dirs)
|
candidates = ', '.join(candidate_component_include_dirs)
|
||||||
return (f'Missing "{missing_header}" file name found in the following component(s): {candidates}. '
|
return (f'Missing "{missing_header}" file name found in the following component(s): {candidates}. '
|
||||||
f'Maybe one of the components needs to add the missing header directory to INCLUDE_DIRS '
|
f'Maybe one of the components needs to add the missing header directory to INCLUDE_DIRS '
|
||||||
f'of idf_component_register call in CMakeLists.txt.')
|
f'of idf_component_register call in CMakeLists.txt. Another possibility may be that the '
|
||||||
|
f'component or its feature is not enabled in the configuration. Use "idf.py menuconfig" '
|
||||||
|
f'to check if the required options are enabled.')
|
||||||
|
|
||||||
# The missing header not found anywhere, nothing much we can do here.
|
# The missing header not found anywhere, nothing much we can do here.
|
||||||
return None
|
return None
|
||||||
|
Loading…
x
Reference in New Issue
Block a user