application_is/Debug/obj/main_application_is.o: In function main':
tuya_app_main'
/home/book/Documents/tuya/Projects/feed_tool_os/software/TuyaOS/vendor/rtl8720cf_ameba/rtl8720cf-os/project/realtek_amebaz2_v0_example/GCC-RELEASE/../../../../tuyaos/tuyaos_adapter/src/main.c:38: undefined reference to
collect2: error: ld returned 1 exit status
application.is.mk recipe for target 'application_is' failed
make[2]: *** [application_is] Error 1
make[2]: Leaving directory '/home/book/Documents/tuya/Projects/feed_tool_os/software/TuyaOS/vendor/rtl8720cf_ameba/rtl8720cf-os/project/realtek_amebaz2_v0_example/GCC-RELEASE'
Makefile:11: recipe for target 'is' failed
make[1]: *** [is] Error 2
make[1]: Leaving directory '/home/book/Documents/tuya/Projects/feed_tool_os/software/TuyaOS/vendor/rtl8720cf_ameba/rtl8720cf-os/project/realtek_amebaz2_v0_example/GCC-RELEASE'
/home/book/Documents/tuya/Projects/feed_tool_os/software/TuyaOS/scripts/mk/app.mk:186: recipe for target 'app_by_name' failed
make: *** [app_by_name] Error 2
RTL8720CF新建工程编译失败 3.8.0
RTL8720CF新建工程编译失败 3.8.0
Tags:
- chenyisong
- Posts: 124
Re: RTL8720CF新建工程编译失败 3.8.0
建议参考一下 tuyaos_demo_quickstart
这个项目,确认一下是否缺少了tuya_app_main.c中的以下部分代码
Code: Select all
VOID_T tuya_app_main(VOID_T)
{
THREAD_CFG_T thrd_param = {4096, 4, "tuya_app_main"};
tal_thread_create_and_start(&ty_app_thread, NULL, NULL, tuya_app_thread, NULL, &thrd_param);
}