在根据文档编译tuyaos_demo_ipc的时候,提示找不到components以及adapter目录。代码是通过Wind IDE下载的。根据文档上的代码结构说明,也没有这两个目录. 下面是编译日志里最后出错的部分
.......
Build SDK Begin
make[1]: Entering directory '/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/vendor/x86_64/tuyaos'
find: ‘components’: No such file or directory
find: ‘/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/vendor/x86_64/tuyaos/../../../adapter’: No such file or directory
find: '/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/vendor/x86_64/tuyaos/components/base_bsp/package': No such file or directory
make[1]: Leaving directory '/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/vendor/x86_64/tuyaos'
make completed successfully (1 seconds)
make[1]: Entering directory '/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/vendor/x86_64/tuyaos'
find: ‘components’: No such file or directory
find: ‘/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/vendor/x86_64/tuyaos/../../../adapter’: No such file or directory
make[1]: Leaving directory '/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/vendor/x86_64/tuyaos'
make completed successfully
make[1]: Entering directory '/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/vendor/x86_64/tuyaos'
find: ‘components’: No such file or directory
find: ‘/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/vendor/x86_64/tuyaos/../../../adapter’: No such file or directory
make[1]: Leaving directory '/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/vendor/x86_64/tuyaos'
make completed successfully
Build Finish
call bsp sh build.sh end
/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/apps/tuyaos_demo_ipc
make[1]: Entering directory '/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/apps/tuyaos_demo_ipc'
gcc -Os -ffunction-sections -Wl,--gc-sections,--no-whole-archive,--no-export-dynamic -Xlinker "-(" /home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/libs/*.a -lpthread -ldl -lm -lstdc++ -lrt -lcrypt -Xlinker "-)" -o ./../../output/x86_64_tuyaos_demo_ipc/firmware/tuyaos_demo_ipc
make[1]: Leaving directory '/home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/apps/tuyaos_demo_ipc'
pack img
-e FIRMWARE PATH : /home/yangyy9611/Documents/tuya/Projects/X86_64_TuyaOS-3.8.1/software/TuyaOS/output/x86_64_tuyaos_demo_ipc/firmware/tuyaos_demo_ipc
------ build app(tuyaos_demo_ipc) end ---------