zlgopen / awtk-linux-fb

awtk port for linux framebuffer
110 stars 49 forks source link

awtk-linux-fb移植编译错误 #19

Closed linzy2256 closed 5 years ago

linzy2256 commented 5 years ago

按照移植说明文档步骤下载代码,编译tslib。在linux-fb目录下运行scons编译提示错误。log如下: /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo_main.c:54: undefined reference to tk_atoi' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo_main.c:57: undefined reference totk_atoi' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo_main.c:88: undefined reference to system_info' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo_main.c:88: undefined reference tosystem_info_set_default_font' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo_main.c:96: undefined reference to window_manager' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo_main.c:96: undefined reference towindow_manager_set_cursor' build/var/awtk/demos/demo1_app.o: In function on_show_dialog': /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:45: undefined reference todialog_create_simple' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:46: undefined reference to dialog_cast' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:48: undefined reference towidget_set_text' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:50: undefined reference to button_create' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:51: undefined reference towidget_set_text' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:53: undefined reference to button_create' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:54: undefined reference towidget_set_text' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:56: undefined reference to label_create' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:57: undefined reference towidget_set_text' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:59: undefined reference to widget_on' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:60: undefined reference towidget_on' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:62: undefined reference to dialog_modal' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/demo1_app.c:66: undefined reference totk_mem_dump' build/var/awtk/demos/demo1_app.o: In function on_cancel': /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/common.inc:45: undefined reference todialog_quit' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/common.inc:47: undefined reference to tk_mem_dump' build/var/awtk/demos/demo1_app.o: In functionon_ok': /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/common.inc:30: undefined reference to dialog_quit' /home/mcu/linzy/WH6X/awtk/awtk-linux-fb/build/var/awtk/demos/common.inc:32: undefined reference totk_mem_dump'

xianjimli commented 5 years ago

麻烦更新一下代码。

linzy2256 commented 5 years ago

重新下载编译正常。谢谢