您尚未登录。

#1 2021-04-22 21:50:11 分享评论

微凉VeiLiang
会员
所在地: 深圳
注册时间: 2018-10-28
已发帖子: 519
积分: 503
个人网站

AWTK移植时候使用提示theme_find_style:104 condition(theme->data != NULL)会是什么情况呢

无文件系统的ucos,基于X1500
跑的demo_ui_app.c。
主函数只调用gui_app_start(240, 320);

ratio=f -2143974832 0
Build at: Apr 22 2021 18:08:48
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
theme_find_style:104 condition(theme->data != NULL) failed!
x1:0,y1:0,x2:239,y2:319
nr:76800
x1:0,y1:0,x2:239,y2:319
nr:76800
x1:6,y1:76,x2:239,y2:202
nr:29718
x1:6,y1:76,x2:239,y2:202
nr:29718
x1:6,y1:76,x2:239,y2:202
nr:29718

离线

#2 2021-04-22 21:50:33 分享评论

微凉VeiLiang
会员
所在地: 深圳
注册时间: 2018-10-28
已发帖子: 519
积分: 503
个人网站

Re: AWTK移植时候使用提示theme_find_style:104 condition(theme->data != NULL)会是什么情况呢

目前画面是一片黑色

离线

#3 2021-04-22 22:06:43 分享评论

微凉VeiLiang
会员
所在地: 深圳
注册时间: 2018-10-28
已发帖子: 519
积分: 503
个人网站

Re: AWTK移植时候使用提示theme_find_style:104 condition(theme->data != NULL)会是什么情况呢

还有一个问题就是AWTK Designer 提示联网失败,然后显示可以导入许可证,但是许可证不知道怎么下载

离线

#4 2021-04-23 10:18:26 分享评论

微凉VeiLiang
会员
所在地: 深圳
注册时间: 2018-10-28
已发帖子: 519
积分: 503
个人网站

Re: AWTK移植时候使用提示theme_find_style:104 condition(theme->data != NULL)会是什么情况呢

提示主题缺失的问题已解决。是要实现assets_init函数加载资源
现在又提示字体问题了,按道理说应该有加载了字体资源了

canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_measure_text_default:303 condition(c != NULL && str != NULL && c->font != NULL) failed!
canvas_draw_text_impl:625 condition(c->font != NULL) failed!

离线

#5 2021-04-23 10:41:36 分享评论

微凉VeiLiang
会员
所在地: 深圳
注册时间: 2018-10-28
已发帖子: 519
积分: 503
个人网站

Re: AWTK移植时候使用提示theme_find_style:104 condition(theme->data != NULL)会是什么情况呢

上面提示可能是找不到对应的字体,因为加载的资源是assets-mini.c的
想着加载标准的Default资源,然后发现过大,编译不下。只能再自己摸索下了
其中发现个问题,就是assets_default.inc里面的guage是错别字,资源文件是gauge big_smile

离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn