求助:关于如何在LCD上输出一个汉字的问题(编译环境Keil uVision4)

pceveryday 2012-03-25 09:44:16
程序:
#include "glcd.h"
#include "HzLib.h"

int main(void)
{

LCD_Initializtion();

LCD_Clear(Black);
GUI_Text(40,152,"Writing To SPI Flash",White,Black);
PutChinese(50,10,(uint8_t*)"地", White,Black);

while (1) ;
}

编译信息:
Build target 'LandTiger V2.0'
compiling main.c...
compiling GLCD.c...
compiling HzLib.c...
compiling AsciiLib.c...
compiling core_cm3.c...
compiling system_LPC17xx.c...
assembling startup_LPC17xx.s...
linking...
.\Obj\LandTiger.axf: Error: L6218E: Undefined symbol PutChinese (referred from main.o).
.\Obj\LandTiger.axf: Not enough information to list image symbols.
.\Obj\LandTiger.axf: Not enough information to list the image map.
.\Obj\LandTiger.axf: Finished: 2 information, 0 warning and 1 error messages.
Target not created



这里总是出这个问题,函数明明的定义,但是总提示没有定义符号是什么意思呀,先在这里感谢了
...全文
515 3 打赏 收藏 转发到动态 举报
写回复
用AI写文章
3 条回复
切换为时间正序
请发表友善的回复…
发表回复
net_friends 2012-03-26
  • 打赏
  • 举报
回复
汉字需要用字库生成 这样恐怕不行
蒋剑波 2012-03-26
  • 打赏
  • 举报
回复
出错的信息提示为:PutChinese没有定义,这应该是外部函数,要调用得声明.//extern
yoveldf 2012-03-26
  • 打赏
  • 举报
回复
[Quote=引用 1 楼 net_friends 的回复:]

汉字需要用字库生成 这样恐怕不行
[/Quote] 这里需要汉字库的,显示的时候将显示汉字对应的编码进行显示,

27,374

社区成员

发帖
与我相关
我的任务
社区描述
硬件/嵌入开发 单片机/工控
社区管理员
  • 单片机/工控社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧