【已解决】【tuya os sdk 】安凯AK3760E 编译出问题
我下载了tuya os sdk 的 安凯 AK3760E sdk,工程是这样子创建的:
直接编译会报错:/usr/bin/ld: cannot find -ltuyaos
oftware/TuyaOS/adapter/display/include -I /home/wusy/Documents/tuya/Projects/AK3760E_3.4.0/software/TuyaOS/adapter/wired/include -I /home/wusy/Documents/tuya/Projects/AK3760E_3.4.0/software/TuyaOS/adapter/pm/include -I /home/wusy/Documents/tuya/Projects/AK3760E_3.4.0/software/TuyaOS/adapter/rtc/include -I ./include -L/home/wusy/Documents/tuya/Projects/AK3760E_3.4.0/software/TuyaOS/libs -ltuyaos -pthread -lm -lrt -ldl -lm -Wl,--gc-sections -o /home/wusy/Documents/tuya/Projects/AK3760E_3.4.0/software/TuyaOS/apps/tuyaos_demo_ipc/output/tuyaos_demo_ipc_1.0.2/tuyaos_demo_ipc
/usr/bin/ld: skipping incompatible /home/wusy/Documents/tuya/Projects/AK3760E_3.4.0/software/TuyaOS/libs/libtuyaos.a when searching for -ltuyaos
/usr/bin/ld: cannot find -ltuyaos
collect2: error: ld returned 1 exit status
make: *** [Makefile:82: build_app] Error 1
麻烦分析一下,还要配置唤醒吗?