esp32_shock/build/log/idf_py_stderr_output_18020

54 lines
2.9 KiB
Plaintext
Raw Normal View History

2024-04-29 17:35:50 +08:00
Warning: in CMake variable EXTRA_COMPONENT_DIRS: Path component 'components/lis3dsh components/nvs_storage
components/twai_communication' contains a space separator. It was automatically split into ['components/lis3dsh',
'components/nvs_storage', 'components/twai_communication']
Warning: in CMake variable EXTRA_COMPONENT_DIRS: Path component ' components/lis3dsh components/nvs_storage
components/twai_communication' contains leading spaces
2024-04-27 09:15:55 +08:00
Note: In ESP-IDF v5.0 and later, COMPONENT_DIRS and EXTRA_COMPONENT_DIRS should be defined
as CMake lists, not as space separated strings.
Examples:
* set(EXTRA_COMPONENT_DIRS path/to/components path/to/more/components)
# Correct, EXTRA_COMPONENT_DIRS is defined as a CMake list, with two paths added
* list(APPEND EXTRA_COMPONENT_DIRS path/to/component)
list(APPEND EXTRA_COMPONENT_DIRS path/to/more/components)
# Correct, use when building EXTRA_COMPONENT_DIRS incrementally
* set(EXTRA_COMPONENT_DIRS path/to/components "another/path with space/components")
# Literal path with spaces has to be quoted
* set(EXTRA_COMPONENT_DIRS $ENV{MY_PATH}/components dir/more_components)
# Correct, even if MY_PATH contains spaces
* set(EXTRA_COMPONENT_DIRS ${ROOT}/component1 ${ROOT}/component2 ${ROOT}/component3)
# Correct, even if ROOT contains spaces
Avoid string concatenation!
set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} component1")
set(EXTRA_COMPONENT_DIRS "${EXTRA_COMPONENT_DIRS} component2")
# Incorrect. String "component1 component2" may indicate a single directory
# name with a space, or two directory names separated by space.
Instead use:
list(APPEND component1)
list(APPEND component2)
Defining COMPONENT_DIRS and EXTRA_COMPONENT_DIRS as CMake lists is backwards compatible
with ESP-IDF 4.4 and below.
(If you think these variables are defined correctly in your project and this message
is not relevant, please report this as an issue.)
2024-04-29 17:35:50 +08:00
Diagnostic info: E:/Espressif/frameworks/esp-idf-v5.0.4/tools/split_paths_by_spaces.py was invoked in E:\Espressif\frameworks\esp-idf-v5.0.4\app\esp32_shock with arguments: ['--var-name=EXTRA_COMPONENT_DIRS', ' components/lis3dsh components/nvs_storage components/twai_communication']
2024-04-27 09:15:55 +08:00
CMake Error at E:/Espressif/frameworks/esp-idf-v5.0.4/tools/cmake/build.cmake:245 (message):
2024-04-29 17:35:50 +08:00
Failed to resolve component 'ota'.
2024-04-27 09:15:55 +08:00
Call Stack (most recent call first):
E:/Espressif/frameworks/esp-idf-v5.0.4/tools/cmake/build.cmake:281 (__build_resolve_and_add_req)
E:/Espressif/frameworks/esp-idf-v5.0.4/tools/cmake/build.cmake:574 (__build_expand_requirements)
E:/Espressif/frameworks/esp-idf-v5.0.4/tools/cmake/project.cmake:530 (idf_build_process)
CMakeLists.txt:8 (project)
ninja: error: rebuilding 'build.ninja': subcommand failed