打印
[技术问答]

KEIL编译报L6002U错误。

[复制链接]
1688|4
手机看帖
扫描二维码
随时随地手机跟帖
跳转到指定楼层
楼主
Rhizobium|  楼主 | 2019-11-25 10:47 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
大家好,我从官网下载的例程编译的时候报一下错误,请指教!不胜感激!
Build started: Project: demo
*** Using Compiler 'V5.06 update 6 (build 750)', folder: 'C:\Keil\ARM\ARMCC\Bin'
Build target 'Demo'
compiling ac78xx_ckgen.c...
compiling ac78xx_debugout.c...
compiling ac78xx_spm.c...
compiling system_ac78xx.c...
compiling ac78xx_dma.c...
compiling ac78xx_eflash.c...
compiling ac78xx_gpio.c...
compiling ac78xx_uart.c...
compiling ac78xx_timer.c...
compiling ac78xx_wdg.c...
compiling ac78xx_spi.c...
compiling ac78xx_i2c.c...
compiling main.c...
linking...
.\Objects\demo.axf: error: L6002U: Could not open file .\objects\ac78xx_ckgen.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
".\Objects\demo.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:01

使用特权

评论回复

相关帖子

沙发
JasonLee27| | 2019-11-25 13:26 | 只看该作者
看 log是.\objects\ac78xx_ckgen.o这个文件找不到,但前面看对应的c文件又编译了,建议把工程里面生成的RTE,Listings,Objects三个文件夹删除再重新编译试下。

使用特权

评论回复
板凳
Rhizobium|  楼主 | 2019-11-25 18:17 | 只看该作者
JasonLee27 发表于 2019-11-25 13:26
看 log是.\objects\ac78xx_ckgen.o这个文件找不到,但前面看对应的c文件又编译了,建议把工程里面生成的RTE ...

把前面说的三个文件夹删除了后编译,问题依然存在。

使用特权

评论回复
地板
JasonLee27| | 2019-11-26 09:16 | 只看该作者
Rhizobium 发表于 2019-11-25 18:17
把前面说的三个文件夹删除了后编译,问题依然存在。

能否把有问题的工程发出来,这个问题在我的电脑上没有遇到,我没法确定是什么原因。

使用特权

评论回复
5
心口上的朱砂痣| | 2019-12-4 15:40 | 只看该作者
感谢分享

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1

主题

5

帖子

0

粉丝