fatal error: espressif/airkiss.h: No such file or directory

dearwind153
Posts: 49
Joined: Sun Feb 28, 2016 7:47 pm

fatal error: espressif/airkiss.h: No such file or directory

Postby dearwind153 » Thu Mar 24, 2016 12:03 am

1. 使用“ESP8266_ROTS_SDK_1_4_0”
2. 编译“/home/ESP8266_ROTS_SDK_1_4_0/examples/smart_config”下的工程
3. 错误如下:
complie.png

Code: Select all

root@esp8266-VirtualBox:/home/ESP8266_ROTS_SDK_1_4_0/examples/smart_config# ./gen_misc.sh
gen_misc.sh version 20150911

SDK_PATH:
/home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0

BIN_PATH:
/opt/xtensa-lx106-elf/bin

Please check SDK_PATH & BIN_PATH, enter (Y/y) to continue:
y

Please follow below steps(1-5) to generate specific bin(s):
STEP 1: use boot_v1.2+ by default
boot mode: new

STEP 2: choose bin generate(0=eagle.flash.bin+eagle.irom0text.bin, 1=user1.bin, 2=user2.bin)
enter (0/1/2, default 0):
0
ignore boot
generate bin: eagle.flash.bin+eagle.irom0text.bin

STEP 3: choose spi speed(0=20MHz, 1=26.7MHz, 2=40MHz, 3=80MHz)
enter (0/1/2/3, default 2):
2
spi speed: 40 MHz

STEP 4: choose spi mode(0=QIO, 1=QOUT, 2=DIO, 3=DOUT)
enter (0/1/2/3, default 0):
0
spi mode: QIO

STEP 5: choose spi size and map
    0= 512KB( 256KB+ 256KB)
    2=1024KB( 512KB+ 512KB)
    3=2048KB( 512KB+ 512KB)
    4=4096KB( 512KB+ 512KB)
    5=2048KB(1024KB+1024KB)
    6=4096KB(1024KB+1024KB)
enter (0/2/3/4/5/6, default 0):
2
spi size: 1024KB
spi ota map:  512KB + 512KB

start...

make -C user clean;
make[1]: Entering directory `/home/ESP8266_ROTS_SDK_1_4_0/examples/smart_config/user'
rm -f -r .output/eagle/debug
make[1]: Leaving directory `/home/ESP8266_ROTS_SDK_1_4_0/examples/smart_config/user'
rm -f -r .output/eagle/debug
make[1]: Entering directory `/home/ESP8266_ROTS_SDK_1_4_0/examples/smart_config/user'
DEPEND: xtensa-lx106-elf-gcc -M -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections -DICACHE_FLASH -I include -I ./ -I ../include -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/extra_include -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include/lwip -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include/lwip/ipv4 -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include/lwip/ipv6 -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include/espressif -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include/spiffs user_main.c
user_main.c:34:31: fatal error: espressif/airkiss.h: No such file or directory
 #include "espressif/airkiss.h"
                               ^
compilation terminated.
xtensa-lx106-elf-gcc -Os -g -Wpointer-arith -Wundef -Werror -Wl,-EL -fno-inline-functions -nostdlib -mlongcalls -mtext-section-literals -ffunction-sections -fdata-sections  -DICACHE_FLASH   -I include -I ./ -I ../include -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/extra_include -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include/lwip -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include/lwip/ipv4 -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include/lwip/ipv6 -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include/espressif -I /home/ESP8266_RTOS_SDK_V1.3.0_15_11_02/ESP8266_RTOS_SDK_V1.3.0/include/spiffs  -o .output/eagle/debug/obj/user_main.o -c user_main.c
user_main.c:34:31: fatal error: espressif/airkiss.h: No such file or directory
 #include "espressif/airkiss.h"
                               ^
compilation terminated.
make[1]: *** [.output/eagle/debug/obj/user_main.o] Error 1
make[1]: Leaving directory `/home/ESP8266_ROTS_SDK_1_4_0/examples/smart_config/user'
make: *** [.subdirs] Error 2

但“/home/ESP8266_ROTS_SDK_1_4_0/include/espressif"目录下明显有 “Arirkiss.h”头文件
path.png

并且“.gen_misc.sh”已经修改
environment.png


为什么会出现这样的错误,应该如何编译?

Who is online

Users browsing this forum: No registered users and 14 guests