zlgopen / awtk-linux-fb

awtk port for linux framebuffer
108 stars 49 forks source link

examples程序运行错误 #73

Open sxw106106 opened 2 years ago

sxw106106 commented 2 years ago

请教下,awtk中的demo推送到机器可以正常运行,使用awtk-examples中HelloDesigner-Demo会报错,桌面显示无字体。 编译方式如下: scons APP=../awtk-examples/HelloDesigner-Demo ./release.sh ../awtk-examples/HelloDesigner-Demo/res 日志如下: try /1/release/bin app_root=/1/release fb_info_t: /dev/fb0 xres=480 yres=480 xres_virtual=480 yres_virtual=960 bits_per_pixel=32 line_length=1920 fb_info_t: red(16 8) green(8 8) blue(0 8) xpanstep=1 ywrapstep=0 fb_size=921600 fb_total_size=1843200 fb_nr=2 smem_len=1843200 fb_open clear fb_open ok sh: dmidecode: not found =========fb_number=2 ratio=1.000000 480 480 ratio=1.000000 480 480 tslib_run:116: open tslib successful, filename=/dev/input/event3 input_run:254: open mouse failed, fd=-1, filename=/dev/input/mouse0 Build at: Aug 30 2021 18:50:41 user storage path:/root !!!Asset [name=preload type=ui] not exist!!! ui_loader_load_widget_with_parent:43 condition(ui != NULL) failed! input_run:313: open keyboard successful, fd=6, filename=/dev/input/event1 canvas_draw_text_impl:635 condition(c->font != NULL) failed! canvas_draw_text_impl:635 condition(c->font != NULL) failed! canvas_draw_text_impl:635 condition(c->font != NULL) failed! canvas_draw_text_impl:635 condition(c->font != NULL) failed! canvas_draw_text_impl:635 condition(c->font != NULL) failed! canvas_draw_text_impl:635 condition(c->font != NULL) failed! canvas_draw_text_impl:635 condition(c->font != NULL) failed! canvas_draw_text_impl:635 condition(c->font != NULL) failed! widget_lookup_all:1103 condition(widget != NULL && name != NULL) failed! widget_lookup_all:1103 condition(widget != NULL && name != NULL) failed! widget_set_value:275 condition(widget != NULL) failed! widget_set_text_utf8:395 condition(widget != NULL) failed! canvas_draw_text_impl:635 condition(c->font != NULL) failed!

sohide commented 2 years ago

是否有按照awtk-linux-fb/readme.md里面的命令执行 release.sh,可能是没有把demo的字体打包进去