Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Build] EXTRA_COMPONENT_DIRS doesn't exist: #33892

Open
cybortd opened this issue Jun 13, 2024 · 5 comments
Open

[Build] EXTRA_COMPONENT_DIRS doesn't exist: #33892

cybortd opened this issue Jun 13, 2024 · 5 comments

Comments

@cybortd
Copy link

cybortd commented Jun 13, 2024

Build issue(s)

after installing environment in esp-idf i did this
1.cd connectedhomeip/examples/lighting-app/esp32
2. idf.py build
then received:
ARNING: Python interpreter "/home/ubutv/work/connectedhomeip/.environment/pigweed-venv/bin/python" used to start idf.py is not from installed venv "/home/ubutv/.espressif/python_env/idf5.4_py3.10_env"
Executing action: all (aliases: build)
Running cmake in directory /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/build
Executing "cmake -G Ninja -DPYTHON_DEPS_CHECKED=1 -DPYTHON=/home/ubutv/work/connectedhomeip/.environment/pigweed-venv/bin/python -DESP_PLATFORM=1 -DCCACHE_ENABLE=0 /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32"...
-- IDF_TARGET not set, using default target: esp32
-- Found Git: /usr/bin/git (found version "2.34.1")
-- Component directory /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/third_party/connectedhomeip/examples/common/cmake does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/third_party/connectedhomeip/examples/common/credentials does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/third_party/connectedhomeip/examples/common/imgui_ui does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/third_party/connectedhomeip/examples/common/m5stack-tft does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/third_party/connectedhomeip/examples/common/pigweed does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/third_party/connectedhomeip/examples/common/tracing does not contain a CMakeLists.txt file. No component will be added
-- Component directory /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/third_party/connectedhomeip/examples/common/websocket-server does not contain a CMakeLists.txt file. No component will be added
CMake Error at /home/ubutv/work/esp-idf/tools/cmake/project.cmake:465 (message):
Directory specified in EXTRA_COMPONENT_DIRS doesn't exist:
/home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/third_party/connectedhomeip/examples/common/m5stack-tft/repo/components
Call Stack (most recent call first):
/home/ubutv/work/esp-idf/tools/cmake/project.cmake:549 (__project_init)
CMakeLists.txt:37 (project)

-- Configuring incomplete, errors occurred!
cmake failed with exit code 1, output of the command is in the /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/build/log/idf_py_stderr_output_15320 and /home/ubutv/work/connectedhomeip/examples/lighting-app/esp32/build/log/idf_py_stdout_output_15320

  • I try to build an examples of matter( lighting-app). how can i solve this problem.
    thks

Platform

esp32

Anything else?

No response

@cybortd cybortd changed the title [Build] [Build] EXTRA_COMPONENT_DIRS doesn't exist: Jun 13, 2024
@bzbarsky-apple
Copy link
Contributor

@shubhamdp @dhrishi

@dhrishi
Copy link
Contributor

dhrishi commented Jun 16, 2024

@shripad621git Please take a look.

@cybortd Meanwhile, can you please confirm if you have followed the set of steps here, in the same sequence?

@cybortd
Copy link
Author

cybortd commented Jun 16, 2024

@dhrishi yes, i have followed that. i did it again three times but always same error

@shripad621git
Copy link
Contributor

@cybortd , from the python environment I can see from the logs, I guess you are on a higher esp-idf version than recommended
here. Can you please confirm the idf version or the idf commit id you are using.
Also can you please confirm that "connectedhomeip/examples/common/m5stack-tft/repo/components" exists in your setup or not.

@cybortd
Copy link
Author

cybortd commented Jun 18, 2024

@shripad621git i used esp-idf v5.1.2 as recommeded

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Todo
Development

No branches or pull requests

4 participants