Toggle navigation
首页
问答
文章
积分商城
专家
专区
更多专区...
文档中心
返回主站
搜索
提问
会员
中心
登录
注册
RT-Thread一般讨论
RT-Thread 0.4.0RC1中使用GUI组件,尚未加入LCD应用程序,试编译结果出错如下。请各位指教!
发布于 2011-10-10 10:00:55 浏览:7720
订阅该版
Build target 'LPC11xx RT-Thread Pro' assembling context_rvds.S... compiling cpu.c... compiling fault.c... assembling fault_rvds.S... compiling interrupt.c... compiling stack.c... assembling start_rvds.S... compiling clock.c... compiling device.c... compiling idle.c... compiling ipc.c... compiling irq.c... compiling kservice.c... compiling mem.c... compiling mempool.c... compiling module.c... compiling object.c... compiling rtm.c... compiling scheduler.c... compiling slab.c... compiling thread.c... compiling timer.c... compiling asc12font.c... compiling asc16font.c... compiling blit.c... compiling color.c... compiling dc.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common\dc.c(423): warning: #223-D: function "rt_malloc" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common\dc.c(444): warning: #223-D: function "rt_free" declared implicitly compiling dc_buffer.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling dc_client.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling dc_hw.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling filerw.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling font.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling font_bmp.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling font_freetype.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling font_hz_bmp.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling font_hz_file.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling framebuffer_driver.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling hz12font.c... compiling hz16font.c... compiling image.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common\image.c(67): warning: #177-D: function "rtgui_image_get_engine_by_filename" was declared but never referenced compiling image_bmp.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling image_container.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling image_hdc.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling image_jpg.c... compiling image_png.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling image_xpm.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling pixel_driver.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling region.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common egion.c(242): warning: #223-D: function "rt_realloc" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common egion.c(705): warning: #223-D: function "rt_realloc" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common egion.c(1347): warning: #223-D: function "rt_realloc" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common egion.c(1423): warning: #223-D: function "rt_realloc" declared implicitly compiling rtgui_object.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling rtgui_system.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(259): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(369): warning: #223-D: function "rt_mq_send" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(390): warning: #223-D: function "rt_mq_urgent" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(415): warning: #223-D: function "rt_mq_send" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(455): warning: #223-D: function "rt_mq_recv" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(469): warning: #223-D: function "rt_mq_recv" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(482): warning: #223-D: function "rt_mq_recv" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(703): warning: #223-D: function "rt_malloc" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(703): error: #513: a value of type "int" cannot be assigned to an entity of type "void *" ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(730): warning: #223-D: function "rt_realloc" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(730): error: #513: a value of type "int" cannot be assigned to an entity of type "void *" ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_system.c(743): warning: #223-D: function "rt_free" declared implicitly compiling rtgui_theme.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\common tgui_theme.c(306): warning: #223-D: function "rt_free" declared implicitly compiling rtgui_xml.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling driver.c... compiling mouse.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling panel.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\server\panel.h(37): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling server.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\server\server.c(505): warning: #223-D: function "rt_mq_create" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\server\server.c(505): error: #513: a value of type "int" cannot be assigned to an entity of type "struct rt_messagequeue *" ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\server\server.c(638): warning: #223-D: function "rt_mq_send" declared implicitly compiling topwin.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\server\panel.h(37): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling about_view.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling box.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling button.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling checkbox.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling combobox.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling container.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling filelist_view.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling iconbox.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\iconbox.c(39): warning: #223-D: function "rt_free" declared implicitly compiling label.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\label.c(31): warning: #223-D: function "rt_free" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\label.c(102): warning: #223-D: function "rt_free" declared implicitly compiling list_view.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\list_view.c(459): warning: #514-D: pointless comparison of unsigned integer with a negative constant ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\list_view.c(467): warning: #68-D: integer conversion resulted in a change of sign ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\list_view.c(469): warning: #68-D: integer conversion resulted in a change of sign compiling listbox.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling listctrl.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling menu.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined compiling notebook.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets
otebook.c(29): warning: #223-D: function "rt_free" declared implicitly compiling progressbar.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling radiobox.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling scrollbar.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling slider.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling staticline.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling textbox.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\textbox.c(79): warning: #223-D: function "rt_free" declared implicitly compiling textview.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\textview.c(38): warning: #223-D: function "rt_free" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\textview.c(103): warning: #223-D: function "rt_malloc" declared implicitly ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\textview.c(103): error: #513: a value of type "int" cannot be assigned to an entity of type "char *" ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\textview.c(239): warning: #223-D: function "rt_free" declared implicitly compiling title.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\title.c(27): warning: #223-D: function "rt_free" declared implicitly compiling toplevel.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling view.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\view.c(46): warning: #223-D: function "rt_free" declared implicitly compiling widget.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined compiling window.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\window.c(62): warning: #223-D: function "rt_free" declared implicitly compiling workbench.c... ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(36): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/rtgui_system.h(70): error: #20: identifier "rt_mq_t" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\include tgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components tgui\widgets\workbench.c(54): warning: #223-D: function "rt_free" declared implicitly compiling core_cm0.c... compiling system_LPC11xx.c... compiling application.c... compiling board.c... compiling key.c... compiling led.c... compiling startup.c... compiling uart.c... Target not created
查看更多
12
个回答
默认排序
按发布时间排序
nc21lym
2011-10-10
这家伙很懒,什么也没写!
在rtconfig中加入【#define RTGUI_NAME_MAX 12】解决了如下这个问题,但其他还没解决。 ..\..\..\..\RTOS_Kernel\RT_Thread\RT_Thread_040_RC1\components\rtgui\include\rtgui/event.h(109): error: #20: identifier "RTGUI_NAME_MAX" is undefined
bernard
2011-10-10
这家伙很懒,什么也没写!
看来很有必要出一个step by step的RT-Thread/GUI上手教程……
nc21lym
2011-10-10
这家伙很懒,什么也没写!
希望能尽快出一个step by step的RT-Thread/GUI上手教程。我有史以来第一次学的操作系统就是RT-Thread,刚学了半个月。在Ration LPC1114开发板上移植,在MDK422下正常运行了LED和KEY两个线程。现在想加入GUI,加入之后编译出现如上的错误(尚未添加LCD应用程序,只加入GUI的所有文件)。 rt_mq_t数据类型在rtgui_system.h使用,而rt_mq_t在rtdef.h中定义【typedef struct rt_semaphore *rt_sem_t;】,rtgui_system.h中包含了rtthread.h,而rtthread.h中包含了rtdef.h。本人已在rtconfig.h中定义了【#define RT_USING_SEMAPHORE】,不知道什么回事? 还有rtgui_system.c中的703行和730行出错如下,是不是代码有问题? error: #513: a value of type "int" cannot be assigned to an entity of type "void *" void* ptr; ptr = rt_malloc(size); // 703行 void* new_ptr; new_ptr = rt_realloc(ptr, size); // 730行 components\rtgui\server\server.c中的501行编译出错: error: #513: a value of type "int" cannot be assigned to an entity of type "struct rt_messagequeue *" /* create rtgui server msgq */ rtgui_server_mq = rt_mq_create("rtgui",32, 16, RT_IPC_FLAG_FIFO); \components\rtgui\widgets\textview.c中的103行编译出错: error: #513: a value of type "int" cannot be assigned to an entity of type "char *" /* allocate lines */ textview->lines = rt_malloc(textview->line_count * textview->line_width);
aozima
2011-10-10
调网络不抓包,调I2C等时序不上逻辑分析仪,就像电工不用万用表!多用整理的好的文字,比截图更省流量,还能在整理过程中思考。
楼主添加头文件搜索路径了没有? 建议使用scons生成工程
nc21lym
2011-10-10
这家伙很懒,什么也没写!
添加了头文件: ..\RT_Thread\RT_Thread_040_RC1\include ..\RT_Thread\RT_Thread_040_RC1\components\rtgui\include rtconfig.h放在Application文件夹中,也添加了 在这上面折腾了一个星期,还没搞定。
nukes
2011-10-10
这家伙很懒,什么也没写!
这位兄弟好像是没有加入头文件!在坛子里我发了一个工程模板,那里我建立了一个GUI标准面板,建议你找下看看。 另外我想说下,至少我这样级别的人scons重新生成工程有难度,经管坛子里有教程。SVN的代码看了两个月GUI也不是很得要领。真的很希望关于GUI的详细教程面市!
nc21lym
2011-10-11
这家伙很懒,什么也没写!
楼上说的有道理。昨晚看了scons,运行scons命令,结果出现“scons不是内部或外部命令,也不是可运行的程序或批处理文件”。不知道使用。
nc21lym
2011-10-11
这家伙很懒,什么也没写!
按照nukes模板,在0.4.0 RC1上加入GUI,依然存在如下问题: rtgui_system.c中的703行和730行出错如下,是不是代码有问题? error: #513: a value of type "int" cannot be assigned to an entity of type "void *" void* ptr; ptr = rt_malloc(size); // 703行 void* new_ptr; new_ptr = rt_realloc(ptr, size); // 730行 components\rtgui\server\server.c中的501行编译出错: error: #513: a value of type "int" cannot be assigned to an entity of type "struct rt_messagequeue *" /* create rtgui server msgq */ rtgui_server_mq = rt_mq_create("rtgui",32, 16, RT_IPC_FLAG_FIFO); \components\rtgui\widgets\textview.c中的103行编译出错: error: #513: a value of type "int" cannot be assigned to an entity of type "char *" /* allocate lines */ textview->lines = rt_malloc(textview->line_count * textview->line_width); 但在0.3.1版本上编译通过!
nukes
2011-10-11
这家伙很懒,什么也没写!
4.0与3.3内核有些区别,GUI区别要更大一些. 我从接触RTT到会用RTTGUI写出界面用了四个月,现在刚用4.0RC写出GUI界面,呵呵笨啊! 晕哪! 刚注意到LZ用的是LPC1114,你这个MCU内存太小了,只是个高档一点点的单片机,运行RTT内核没事,GUI绝不可能。如果LZ想学习GUI呢,建意你用ST32F103ZET6。我在淘宝上买的核心板记得100多块钱,F2出来了,现在它只卖68。有核心板其它的自己焊,我就这样.
grissiom
2011-11-01
这家伙很懒,什么也没写!
RTGUI 难以上手,我觉得很大一个原因就是自带的 demo 太复杂了…… 整个 demo 整了一个星期了都还没有整通…… 要是能把这个大 demo 分割成小的就好了…… 而且最好直接用 API,不要再上面封装一层 demo_view 之类的,看起来太复杂……
撰写答案
登录
注册新账号
关注者
0
被浏览
7.7k
关于作者
nc21lym
这家伙很懒,什么也没写!
提问
3
回答
7
被采纳
0
关注TA
发私信
相关问题
1
有关动态模块加载的一篇论文
2
最近的调程序总结
3
晕掉了,这么久都不见layer2的踪影啊
4
继续K9ii的历程
5
[GUI相关] FreeType 2
6
[GUI相关]嵌入式系统中文输入法的设计
7
20081101 RT-Thread开发者聚会总结
8
嵌入式系统基础
9
linux2.4.19在at91rm9200 上的寄存器设置
10
[转]基于嵌入式Linux的通用触摸屏校准程序
推荐文章
1
RT-Thread应用项目汇总
2
玩转RT-Thread系列教程
3
国产MCU移植系列教程汇总,欢迎查看!
4
机器人操作系统 (ROS2) 和 RT-Thread 通信
5
五分钟玩转RT-Thread新社区
6
【技术三千问】之《玩转ART-Pi》,看这篇就够了!干货汇总
7
关于STM32H7开发板上使用SDIO接口驱动SD卡挂载文件系统的问题总结
8
STM32的“GPU”——DMA2D实例详解
9
RT-Thread隐藏的宝藏之completion
10
【ART-PI】RT-Thread 开启RTC 与 Alarm组件
最新文章
1
开源共生 商业共赢 | RT-Thread 2024开发者大会议程正式发布!
2
【24嵌入式设计大赛】基于RT-Thread星火一号的智慧家居系统
3
RT-Thread EtherKit开源以太网硬件正式发布
4
如何在master上的BSP中添加配置yml文件
5
使用百度AI助手辅助编写一个rt-thread下的ONVIF设备发现功能的功能代码
热门标签
RT-Thread Studio
串口
Env
LWIP
SPI
AT
Bootloader
Hardfault
CAN总线
FinSH
ART-Pi
USB
DMA
文件系统
RT-Thread
SCons
RT-Thread Nano
线程
MQTT
STM32
RTC
FAL
rt-smart
ESP8266
I2C_IIC
WIZnet_W5500
UART
ota在线升级
PWM
cubemx
freemodbus
flash
packages_软件包
BSP
潘多拉开发板_Pandora
定时器
ADC
GD32
flashDB
socket
中断
Debug
编译报错
msh
SFUD
rt_mq_消息队列_msg_queue
keil_MDK
ulog
MicroPython
C++_cpp
本月问答贡献
踩姑娘的小蘑菇
7
个答案
3
次被采纳
a1012112796
20
个答案
2
次被采纳
张世争
11
个答案
2
次被采纳
rv666
9
个答案
2
次被采纳
用户名由3_15位
13
个答案
1
次被采纳
本月文章贡献
程序员阿伟
9
篇文章
2
次点赞
hhart
3
篇文章
4
次点赞
RTT_逍遥
1
篇文章
6
次点赞
大龄码农
1
篇文章
5
次点赞
ThinkCode
1
篇文章
1
次点赞
回到
顶部
发布
问题
分享
好友
手机
浏览
扫码手机浏览
投诉
建议
回到
底部