BUG: component_requirements.py: esp_timer.h found in component esp_timer which is already in the requirements list of

timboesp
Posts: 21
Joined: Fri Apr 26, 2019 6:24 pm

BUG: component_requirements.py: esp_timer.h found in component esp_timer which is already in the requirements list of

Postby timboesp » Mon Sep 08, 2025 1:38 am

I'm getting build error:

Code: Select all

cpp-common/common/utils/utilities.cpp:88:10: fatal error: esp_timer.h: No such file or directory
   88 | #include "esp_timer.h"
And I have also added esp_timer to my REQUIRES list.

Code: Select all

if(IDF_TARGET)
    set(COMPONENT_ADD_INCLUDEDIRS 
        common
        "~/esp/esp-idf/components/pthread/include"
        "~/esp/esp-idf/components/esp_timer/include"
    )
    set(COMPONENT_REQUIRES "esp_timer")

    register_component()
  endif()
However, later I get:

Code: Select all

ninja: build stopped: subcommand failed.
BUG: component_requirements.py: esp_timer.h found in component esp_timer which is already in the requirements list of cpp-common

timboesp
Posts: 21
Joined: Fri Apr 26, 2019 6:24 pm

Re: BUG: component_requirements.py: esp_timer.h found in component esp_timer which is already in the requirements list o

Postby timboesp » Mon Sep 08, 2025 1:40 am

Additional info:

Ubuntu 24.04
esp-idf v5.5.1

Who is online

Users browsing this forum: No registered users and 3 guests