Page 1 of 1

esp-aliyun sdk compile error

Posted: Tue Aug 04, 2020 7:36 am
by yexiaojun
Hi, everyone
i get esp-aliyun sdk. then under esp-aliyun directory execute command below:
cd examples/solutions/smart_light
make chip=esp32 defconfig
make menuconfig
make

but compile error, log see below:
/home/jack/work/esp/esp-aliyun/examples/solutions/smart_light/components/pwm/include/xpwm.h:18:10: fatal error: esp8266/gpio_register.h: No such file or directory
#include "esp8266/gpio_register.h"
^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

i can not understand my target chip is esp32 ,why need esp8266 header file.
can someone get it ?
thanks!

Re: esp-aliyun sdk compile error

Posted: Thu Jun 10, 2021 11:57 am
by ESP_YJM
Could you please execute "echo $IDF_PATH" to check your SDK PATH is ESP8266 or ESP-IDF.