Page 1 of 1

【已解决】【TuyaOS SDK】tuyaos-ipc_6.0.2_x86_64_linux_fs_0.0.10.tar 编译缺少components以及adapter目录

Posted: 2023年 Sep 4日 21:01
by yangyy9611

在根据文档编译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 ---------


Re: 【求助】【TuyaOS SDK】tuyaos-ipc_6.0.2_x86_64_linux_fs_0.0.10.tar 编译缺少components以及adapter目录

Posted: 2023年 Sep 5日 09:50
by 郭老庄

你好,打印出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,说明是编译成功了。报错信息不太友好,后续会改掉


Re: 【求助】【TuyaOS SDK】tuyaos-ipc_6.0.2_x86_64_linux_fs_0.0.10.tar 编译缺少components以及adapter目录

Posted: 2023年 Sep 5日 09:57
by yangyy9611

好的,谢谢