[开发工具] STM32CubeMx生成代码不能编译通过的问题!

[复制链接]
3174|3
 楼主| Aeman 发表于 2015-5-15 15:21 | 显示全部楼层 |阅读模式
用最新STM32CubeMx生成STM32F107相关的代码,生成MDK5版本的,编译时出现一个错误,如下所示,求

解答,谢谢!

linking...
ComLcdTest Configuration\ComLcdTest Configuration.axf: Warning: L6310W: Unable to find ARM libraries.
ComLcdTest Configuration\ComLcdTest Configuration.axf: Error: L6411E: No compatible library exists with a definition of startup symbol __main.
Not enough information to list image symbols.
Not enough information to list the image map.
Finished: 2 information, 1 warning and 1 error messages.
"ComLcdTest Configuration\ComLcdTest Configuration.axf" - 1 Error(s), 22 Warning(s).
mmuuss586 发表于 2015-5-15 18:42 | 显示全部楼层
缺少库吧;
 楼主| Aeman 发表于 2015-5-18 08:47 | 显示全部楼层
带用__main的库编译时应该是由MDK自动添加的啊。求ST技术支持解答!
 楼主| Aeman 发表于 2015-5-18 08:56 | 显示全部楼层
发现跟LWIP有关,取消生成LWIP后,编译能通过。但我要用LWIP啊,怎么办?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

6

主题

77

帖子

1

粉丝
快速回复 在线客服 返回列表 返回顶部