硬汉嵌入式论坛

 找回密码
 立即注册
查看: 372|回复: 10
收起左侧

[emWin] emwin小白求助

[复制链接]

0

主题

4

回帖

4

积分

新手上路

积分
4
发表于 2024-1-2 10:47:00 | 显示全部楼层 |阅读模式
本帖最后由 O513 于 2024-1-2 10:50 编辑

小白求助,我之前使用新唐的N9H20K31开发一个项目,使用emwin的版本是V6.34,搭配AppWizard V140b_634a开发了一个HMI界面。但是新唐的mcu太贵了,现在打算换成全志的F1C100S作为驱动MCU,将APPWIZARD生成的工程移植过去全志的程序之后出现报错,请问有没有解决办法。

.\Temp\Obj\Blinky.axf: Error: L6218E: Undefined symbol APPW_SetData(referred from appwconf.o).
\Temp\Obj\Blinky.axf: Error: L6218E:Undefined symbolAPPW SetSupportScroller (referred from appwconf.o).
\Temp\Obj\Blinky.axf: Error: 6218E:Undefined symbol APPW_SetpfInitText (referred from appwconf.o).
\Temp\Obj\Blinky.axf: Error6218E:Undefined APPW_TextInitMem (referred from appwconf.o).
\Temp\Obj\Blinky.axf:Error6218E:Undefined symbol GUI_ShowMissingCharacters(referred from appwconf.o).
\Temp\Obj\Blinky.axf:Error6218E:Undefined symbol APPWCompareIsEqual(referred from id screen main.o).
\Temp\Obj\Blinky.axf:Error6218E:Undefined symbol WM_OBJECT_BOX_Create (referred from id_screen_main.o).
\Temp\Obj\B1inky.axf: Error: L6218E:Undefined symbol WM_OBJECT_BUTTON_Create (referred from id_screen_main.o).
.\Temp\Obj\Blinky.axf: Error: L6218E: Undefined symbol WM OBJECT GAUGE Create
(referred from id screen main.o).
.\Temp\Obj\Blinky.axf: Error: L6218E: Undefined symbol WM OBJECT IMAGE Create
(referred from id screen main.o).
.\Temp\Obj\Blinky.axf: Error: L6218E: Undefined symbol WM_OBJECT_ROTARY_Create (referred from id_screen_main.o).
.\Temp\Obj\B1inky.axf: Error: L6218E:Undefined symbol WM OBJECT TEXT Create (referred from id screen main.o).
\Temp\Obj\B1inky.axf: Error: L6218E:Undefined symbol
WM OBJECT WINDOW Create (referred from id_screen_main.o).
\Temp\Obj\B1inky.axf: Error: L6218E:Undefined symbol APPWCompareIsGreaterOrEqual(referred from id screen warning.o
\Temp\Obj\B1inky.axf: Error: L6218E:Undefined symbol APeW
CompareIsLessOrEqual(referred from id screen_warning.o).
.\Temp\Obj\B1inky.axf: Error: L6218E: Undefined symbol APPW_CreatePersistentScreens (referred from appw_maintask.o).
.\Temp\Obj\Blinky.axf: Error: L6218E:Undefined symbol APPW_CreateRoot (referred from appw_maintask.o).
.\Temp\Obj\Blinky.axf: Error: L6218E:Undefined symbol APPW_Exec (referred from appw_maintask.o).
.\Temp\0bj\Blinky.axf: Error: L6218E: Undefined symbol APpW_Init (referred from appw_maintask.o).

回复

使用道具 举报

0

主题

4

回帖

4

积分

新手上路

积分
4
 楼主| 发表于 2024-1-2 10:49:28 | 显示全部楼层
.\Temp\Obj\Blinky.axf: Error: L6218E: Undefined symbol APPW_SetData(referred from appwconf.o).
\Temp\Obj\Blinky.axf: Error: L6218E:Undefined symbol APPW SetSupportScroller (referred from appwconf.o).
\Temp\Obj\Blinky.axf: Error: 6218E:Undefined symbol APPW_SetpfInitText (referred from appwconf.o).
\Temp\Obj\Blinky.axf: Error6218E:Undefined symbol APPW_TextInitMem (referred from appwconf.o).
\Temp\Obj\Blinky.axf:Error6218E:Undefined symbol GUI_ShowMissingCharacters(referred from appwconf.o).
\Temp\Obj\Blinky.axf:Error6218E:Undefined symbol APPW CompareIsEqual(referred from id screen main.o).
\Temp\Obj\Blinky.axf:Error6218E:Undefined symbol WM_OBJECT_BOX_Create (referred from id_screen_main.o).
\Temp\Obj\B1inky.axf: Error: L6218E:Undefined symbol WM_OBJECT_BUTTON_Create (referred from id_screen_main.o).
.\Temp\Obj\Blinky.axf: Error: L6218E: Undefined symbol WM OBJECT GAUGE Create (referred from id screen main.o).
.\Temp\Obj\Blinky.axf: Error: L6218E: Undefined symbol WM OBJECT IMAGE Create(referred from id screen main.o).
.\Temp\Obj\Blinky.axf: Error: L6218E: Undefined symbol WM_OBJECT_ROTARY_Create (referred from id_screen_main.o).
.\Temp\Obj\B1inky.axf: Error: L6218E:Undefined symbol WM OBJECT TEXT Create (referred from id screen main.o).
\Temp\Obj\B1inky.axf: Error: L6218E:Undefined symbolWM OBJECT WINDOW Create (referred from id_screen_main.o).
\Temp\Obj\B1inky.axf: Error: L6218E:Undefined symbol APPWCompareIsGreaterOrEqual(referred from id screen warning.o
\Temp\Obj\B1inky.axf: Error: L6218E:Undefined symbol APPWCompareIsLessOrEqual(referred from id screen_warning.o).
.\Temp\Obj\B1inky.axf: Error: L6218E: Undefined symbol APPW_CreatePersistentScreens (referred from appw_maintask.o).
.\Temp\Obj\Blinky.axf: Error: L6218E:Undefined symbol APPW_CreateRoot (referred from appw_maintask.o).
.\Temp\Obj\Blinky.axf: Error: L6218E:Undefined symbol APPW_Exec (referred from appw_maintask.o).
.\Temp\0bj\Blinky.axf: Error: L6218E: Undefined symbol APpW_Init (referred from appw_maintask.o).
回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106749
QQ
发表于 2024-1-2 11:15:05 | 显示全部楼层
回复

使用道具 举报

0

主题

4

回帖

4

积分

新手上路

积分
4
 楼主| 发表于 2024-1-2 11:28:39 | 显示全部楼层
eric2013 发表于 2024-1-2 11:15
教程第34章要看下

https://www.armbbs.cn/forum.php?mod=viewthread&tid=98429

看了一下34章,只说了移植方案,我已经按照教程方法将所有的Private.h 文件移植到工程,但是依然会有报错出现
回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106749
QQ
发表于 2024-1-2 11:51:37 | 显示全部楼层
O513 发表于 2024-1-2 11:28
看了一下34章,只说了移植方案,我已经按照教程方法将所有的Private.h 文件移植到工程,但是依然会有报错 ...

那就先用跟我一样的版本吧,新版的,后面我试试,最近一直忙别的,还没有顾上测试最新版
回复

使用道具 举报

0

主题

4

回帖

4

积分

新手上路

积分
4
 楼主| 发表于 2024-1-3 09:18:36 | 显示全部楼层
eric2013 发表于 2024-1-2 11:51
那就先用跟我一样的版本吧,新版的,后面我试试,最近一直忙别的,还没有顾上测试最新版

使用了一样的版本,但是依然会报错,是不是因为AMR9的.lib库不支持这些指令?
回复

使用道具 举报

610

主题

3051

回帖

4901

积分

至尊会员

积分
4901
发表于 2024-1-10 14:52:59 | 显示全部楼层
你好,

这个 emwin的版本是V6.34 版本的能否发上来共享一下哈 ?
回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106749
QQ
发表于 2024-1-11 10:17:04 | 显示全部楼层
O513 发表于 2024-1-3 09:18
使用了一样的版本,但是依然会报错,是不是因为AMR9的.lib库不支持这些指令?

ARM9的话,使用M3的库试试,不要使用M4的库。
回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
106749
QQ
发表于 2024-1-11 10:18:02 | 显示全部楼层
hpdell 发表于 2024-1-10 14:52
你好,

这个 emwin的版本是V6.34 版本的能否发上来共享一下哈 ?

还没有6.34的单片机版。
回复

使用道具 举报

610

主题

3051

回帖

4901

积分

至尊会员

积分
4901
发表于 2024-1-11 11:49:56 | 显示全部楼层
eric2013 发表于 2024-1-11 10:18
还没有6.34的单片机版。

appWizard 发布产品也不搞个全套的,
回复

使用道具 举报

0

主题

4

回帖

4

积分

新手上路

积分
4
 楼主| 发表于 2024-1-11 16:44:51 | 显示全部楼层
eric2013 发表于 2024-1-11 10:17
ARM9的话,使用M3的库试试,不要使用M4的库。

使用M3的库报错很多

Object wm_setscrollbar.o contains Build Attributes that are incompatible with the provided attributes.
    Tag_CPU_arch = ARM v7 (=10)
    Tag_CPU_arch_profile = The microcontroller profile 'M' (e.g. for Cortex M3) (=77)
    Tag_THUMB_ISA_use = Thumb2 instructions were permitted (implies Thumb instructions permitted) (=2)
    Tag_ARM_ISA_use = No ARM instructions were permitted to be used (=0)
.\Temp\Obj\Blinky.axf: Error: L6242E: Cannot link object wm_setscrollbar.o as its attributes are incompatible with the image attributes.
   ... arm-isa clashes with m-profile.
.\Temp\Obj\Blinky.axf: Error: L6367E: wm_setscrollbar.o(.ARM.RL_ARM6) attributes are not compatible with the provided attributes .
Object wm_setscrollbar.o contains Build Attributes that are incompatible with the provided attributes.
    Tag_CPU_arch = ARM v7 (=10)
    Tag_CPU_arch_profile = The microcontroller profile 'M' (e.g. for Cortex M3) (=77)
    Tag_THUMB_ISA_use = Thumb2 instructions were permitted (implies Thumb instructions permitted) (=2)
    Tag_ARM_ISA_use = No ARM instructions were permitted to be used (=0)
.\Temp\Obj\Blinky.axf: Error: L6242E: Cannot link object wm_setscrollbar.o as its attributes are incompatible with the image attributes.
   ... arm-isa clashes with m-profile.
Not enough information to produce a FEEDBACK file.
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 40647 information, 0 warning and 13548 error messages.
".\Temp\Obj\Blinky.axf" - 13548 Error(s), 8 Warning(s).
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-5-4 08:09 , Processed in 0.396695 second(s), 26 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表