V 5.1.1 cMakelist Issue

haridharma_au79
Posts: 2
Joined: Thu Nov 30, 2023 6:58 am

V 5.1.1 cMakelist Issue

Postby haridharma_au79 » Thu Nov 30, 2023 7:12 am

Hi,
I have a project on esp32c6 for the openthread border router and I have created the main file for it. Then I have added my components in the project folder and included in the cmakelist but it is not detecting the component

CMAKEFILE :-
PROJECT_NAME := AU79_BR

EXTRA_COMPONENT_DIRS := components/au_component
EXTRA_COMPONENT_DIRS := components/esp_event
EXTRA_COMPONENT_DIRS := components/esp_netif
EXTRA_COMPONENT_DIRS := components/nvs_flash
EXTRA_COMPONENT_DIRS := components/openthread
EXTRA_COMPONENT_DIRS := components/vfs
EXTRA_COMPONENT_DIRS := components/spi_flash

include $(IDF_PATH)/make/project.mk

CMAKELISTS :-

cmake_minimum_required(VERSION 3.16)

set(PROJECT_VER "0.0.1")
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
project(AU79_BR)

ERROR OCCURS :-

c:\users\hariprabhu\desktop\project_folder\au79_br\components\openthread\include\esp_openthread_types.h:20:10: fatal error: openthread/thread.h: No such file or directory
20 | #include "openthread/thread.h"

Who is online

Users browsing this forum: No registered users and 87 guests