Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

移植编译后在板子上运行例子报错 #67

Open
jiaxiaolong opened this issue Jul 6, 2021 · 2 comments
Open

移植编译后在板子上运行例子报错 #67

jiaxiaolong opened this issue Jul 6, 2021 · 2 comments

Comments

@jiaxiaolong
Copy link

您好,我移植到海思平台,运行例子报以下错误,请问是什么原因呢?
/media/app/awtk # ./demo1
try /media/app/awtk
try set app_root:/media/app/awtk/res
try set app_root:/media/app/awtk/demos
try /media/app/awtk
try set app_root:/media/app/awtk/res
try set app_root:/media/app/awtk/demos
app_root=
Not found valid assets folder!
fb_info_t: /dev/fb0
xres=1280 yres=720
xres_virtual=1280 yres_virtual=720
bits_per_pixel=16 line_length=2560
fb_info_t: red(10 5) green(5 5) blue(0 5)
xpanstep=1 ywrapstep=0
fb_size=1843200 fb_total_size=33177600 fb_nr=1 smem_len=33177600
fb_open clear
fb_open ok
sh: dmidecode: not found
ratio=1.000000 1280 720
ratio=1.000000 1280 720
input_run:310: open keyboard failed, fd=-1, filename=/dev/input/event1
input_run:254: open mouse failed, fd=-1, filename=/dev/input/mouse0
assets_manager_preload:801 condition(info != NULL) failed!
assets_manager_preload:801 condition(info != NULL) failed!
Build at: Jul 5 2021 20:10:41
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!

@jiaxiaolong
Copy link
Author

用release.sh发布,现在ui运行起来了,但报以下错误,还有UI上没有鼠标图标显示,能指导一下从哪里入手查找问题吗?谢谢
./CleanAir
try /userdata/awtk/cleanair
try set app_root:/userdata/awtk/cleanair/res
app_root=/userdata/awtk/cleanair/res
using card '/dev/dri/card0'
modeset_open return 0
mode for connector 56 is 800x1280
modeset_prepare return 0
use dev 0x188778 w=800 h=1280
ratio=1.000000 800 1280
ratio=1.000000 800 1280
input_run:313: open keyboard successful, fd=4, filename=/dev/input/event1
input_run:257: open mouse successful, fd=5, filename=/dev/input/event5
Build at: Jul 5 2021 23:24:36
tk_strncpy:308 condition(dst != NULL && src != NULL) failed!
window main open
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!
label_paint_text:84 condition((r.w > 0 && widget->h >= c->font_size)) failed!

@sohide
Copy link
Collaborator

sohide commented Jul 19, 2021

有些demo是没有设置显示鼠标的,你跑一下awtk自带的demoui看看,有一个API控制是否显示鼠标

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants