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

managed_components/espressif__esp-dl does not contain a component (AIV-712) #172

Closed
3 tasks done
me-no-dev opened this issue Sep 30, 2024 · 1 comment
Closed
3 tasks done

Comments

@me-no-dev
Copy link
Member

Checklist

  • Checked the issue tracker for similar issues to ensure this is not a duplicate
  • Read the documentation to confirm the issue is not addressed there and your configuration is set correctly
  • Tested with the latest version to ensure the issue hasn't been fixed

How often does this bug occurs?

always

Expected behavior

We are using ESP-DL in Arduino for face recognition. We have the following item in idf_component.yaml

  espressif/esp-dl:
    version: "master"
    git: https://github.com/espressif/esp-dl.git
    require: public
    rules:
      - if: "target in [esp32s3, esp32s2, esp32]"

Actual behavior (suspected bug)

Since your latest commit, we can no longer use it as component. Instead we get 'esp32-arduino-lib-builder/managed_components/espressif__esp-dl' does not contain a component.

Error logs or terminal output

CMake Error at esp-idf/tools/cmake/component.cmake:155 (message):
  Directory
  '/Users/ficeto/Desktop/ESP32/ESP-IDF-5/esp32-arduino-lib-builder/managed_components/espressif__esp-dl'
  does not contain a component.
Call Stack (most recent call first):
  esp-idf/tools/cmake/build.cmake:258 (__component_add)
  build/managed_components_list.temp.cmake:5 (idf_build_component)
  esp-idf/tools/cmake/build.cmake:555 (include)
  esp-idf/tools/cmake/project.cmake:710 (idf_build_process)
  CMakeLists.txt:7 (project)


-- Configuring incomplete, errors occurred!

Steps to reproduce the behavior

Try a project with the above item in idf_components.yaml

Project release version

latest master

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Does not matter

Shell

ZSH

Additional context

No response

@github-actions github-actions bot changed the title managed_components/espressif__esp-dl does not contain a component managed_components/espressif__esp-dl does not contain a component (AIV-712) Sep 30, 2024
@me-no-dev
Copy link
Member Author

me-no-dev commented Sep 30, 2024

For ESP32, ESP32-S2 and ESP32-S3 (on both IDF v5.1 and v5.3) we have switched to the following component config:

  espressif/esp-dl-old:
    version: "af7808ba09448ce82c704455975d4cf1e4305fd7"
    git: https://github.com/espressif/esp-dl.git
    require: public
    rules:
      - if: "target in [esp32s3, esp32s2, esp32]"

For ESP32-P4 on IDF v5.3 we have added the following additional configs to coop with the new component structure:

  # ESP-DL for ESP32-P4
  espressif/esp-dl:
    version: "master"
    git: https://github.com/espressif/esp-dl.git
    path: esp-dl
    require: public
    rules:
      - if: "target in [esp32p4]"
  # ESP-DL Face Detection for ESP32-P4
  espressif/human_face_detect:
    version: "master"
    git: https://github.com/espressif/esp-dl.git
    path: models/human_face_detect
    require: public
    rules:
      - if: "target in [esp32p4]"
  # ESP-DL Pedestrian Detection for ESP32-P4
  espressif/pedestrian_detect:
    version: "master"
    git: https://github.com/espressif/esp-dl.git
    path: models/pedestrian_detect
    require: public
    rules:
      - if: "target in [esp32p4]"

Maybe it's a good idea to document this, since you are not published on the component registry and the functionality of the component has also changed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant