awtk-linux-fb icon indicating copy to clipboard operation
awtk-linux-fb copied to clipboard

树莓派运行出错

Open renyongjian opened this issue 6 years ago • 2 comments

pi@raspberrypi:~/nfs/awtk/bin $ ./demoui app_root_is_valid:43 app_root != NULL try /home/pi/nfs/awtk/bin app_root=/home/pi/nfs/awtk fb_info_t: /dev/fb0 fb_info_t: xres=1024 yres=600 bits_per_pixel=32 mem_size=2457600 fb_info_t: red(16 8) green(8 8) blue(0 8) line_length=4096 mem_size=2457600 smem_len=2457600 xres_virtual =1024 yres_virtual=600 xpanstep=1 ywrapstep=0 ratio=1.000000 1024 600 tslib_thread_run:113 info.ts != NULL input_thread_run:266 info.fd >= 0 Build at: Aug 18 2019 17:05:01 window preload open demoui: /home/renyj/work/awtk/awtk/3rd/stb/stb_truetype.h:3163: stbtt__rasterize_sorted_edges: Assertion `z->ey >= scan_y_top' failed. Aborted

renyongjian avatar Aug 18 '19 09:08 renyongjian

关于树莓派,同事在研究基于SDL+OpenGL跑AWTK,完成后会第一时间通知您。谢谢关注。

xianjimli avatar Aug 20 '19 04:08 xianjimli

这个问题有可能是因为 stb 的 floor 和 ceil 函数在标准 C 类库中没有实现代码逻辑,只有函数体,你可以检查一下这两个函数,在 stb_truetype.h 文件中的第 428 行代码定义的,如果真的是这样子的话,你可以自己实现这两个函数就可以了。

WNsACE avatar Feb 17 '20 09:02 WNsACE