Code: Select all
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/esp-idf-lib/components)
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/components)
#include($ENV{IDF_PATH}/tools/cmake/project.cmake)
include($ENV{MDF_PATH}/project.cmake)
project(Node_reciver)
Code: Select all
In file included from ../main/Reciver.c:9:
E:/Desktop/MDF/esp-mdf/components/esp32/include/rom/gpio.h:1:2: warning: #warning rom/gpio.h is deprecated, please use esp32/rom/gpio.h instead [-Wcpp]
#warning rom/gpio.h is deprecated, please use esp32/rom/gpio.h instead
^~~~~~~
../main/Reciver.c:13:10: fatal error: led_strip.h: No such file or directory
#include "led_strip.h"
^~~~~~~~~~~~~
compilation terminated.
[9/15] Building C object esp-idf/mdebug/CMakeFiles/__idf_mdebug.dir/mdebug_cmd.c.obj
ninja: build stopped: subcommand failed.
ninja failed with exit code 1
here are all my headers :
Code: Select all
#include <string.h>
#include <stdio.h>
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/ringbuf.h"
#include "esp_log.h"
#include "sdkconfig.h"
#include "driver/gpio.h"
#include "rom/gpio.h"
#include "mdf_common.h"
#include "mwifi.h"
#include "led_strip.h"