OpenEdv-开源电子网

 找回密码
 立即注册
正点原子全套STM32/Linux/FPGA开发资料,上千讲STM32视频教程免费下载...
查看: 3654|回复: 5

MINI板 视频10讲 编译不成功。程序源码进行编译没有问题

[复制链接]

1

主题

3

帖子

0

精华

新手入门

积分
9
金钱
9
注册时间
2018-12-6
在线时间
1 小时
发表于 2018-12-6 22:02:34 | 显示全部楼层 |阅读模式
对照资料都设置对了最后编译就这样了
Build target 'Template'
compiling main.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_it.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling system_stm32f10x.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling core_cm3.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling misc.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_adc.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_bkp.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_can.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_cec.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_crc.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_dac.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_dbgmcu.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_dma.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_exti.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_flash.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_fsmc.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_gpio.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_i2c.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_iwdg.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_pwr.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_rcc.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_rtc.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_sdio.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_spi.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_tim.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_usart.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling stm32f10x_wwdg.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling delay.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling sys.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
compiling usart.c...
Error: C4065E: type of input file 'FWLib\inc' unknown
linking...
..\OBJ\Template.axf: error: L6002U: Could not open file ..\obj\main.o: No such file or directory
Finished: 0 information, 0 warning, 0 error and 1 fatal error messages.
"..\OBJ\Template.axf" - 1 Error(s), 0 Warning(s).
Target not created.
Build Time Elapsed:  00:00:07

正点原子逻辑分析仪DL16劲爆上市
回复

使用道具 举报

109

主题

5564

帖子

0

精华

资深版主

Rank: 8Rank: 8

积分
10572
金钱
10572
注册时间
2017-2-18
在线时间
1914 小时
发表于 2018-12-6 22:30:53 | 显示全部楼层
将自己的工程发上来看看
你那可能没加官方的库到工程当中
回复 支持 反对

使用道具 举报

1

主题

3

帖子

0

精华

新手入门

积分
9
金钱
9
注册时间
2018-12-6
在线时间
1 小时
 楼主| 发表于 2018-12-7 18:22:02 | 显示全部楼层
peng1554 发表于 2018-12-6 22:30
将自己的工程发上来看看
你那可能没加官方的库到工程当中

有空帮忙看一下吧,谢谢!!!   新手学习中

Template.rar

278.36 KB, 下载次数: 16

回复 支持 反对

使用道具 举报

109

主题

5564

帖子

0

精华

资深版主

Rank: 8Rank: 8

积分
10572
金钱
10572
注册时间
2017-2-18
在线时间
1914 小时
发表于 2018-12-8 17:54:29 | 显示全部楼层
本帖最后由 peng1554 于 2018-12-8 17:56 编辑
huangzh21 发表于 2018-12-7 18:22
有空帮忙看一下吧,谢谢!!!   新手学习中

是路径有问题 ,不空格就编译过去了
你先改成如图,然后重新将里边的文件重新添加到工程就ok了
1.JPG

Template (3).rar

4.63 MB, 下载次数: 13

回复 支持 反对

使用道具 举报

1

主题

3

帖子

0

精华

新手入门

积分
9
金钱
9
注册时间
2018-12-6
在线时间
1 小时
 楼主| 发表于 2018-12-10 12:28:41 | 显示全部楼层
peng1554 发表于 2018-12-8 17:54
是路径有问题 ,不空格就编译过去了
你先改成如图,然后重新将里边的文件重新添加到工程就ok了

非常感谢,已经可以了。
回复 支持 反对

使用道具 举报

109

主题

5564

帖子

0

精华

资深版主

Rank: 8Rank: 8

积分
10572
金钱
10572
注册时间
2017-2-18
在线时间
1914 小时
发表于 2018-12-10 14:58:33 | 显示全部楼层
huangzh21 发表于 2018-12-10 12:28
非常感谢,已经可以了。

不客气 ~~
回复 支持 反对

使用道具 举报

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

本版积分规则



关闭

原子哥极力推荐上一条 /2 下一条

正点原子公众号

QQ|手机版|OpenEdv-开源电子网 ( 粤ICP备12000418号-1 )

GMT+8, 2025-6-19 05:55

Powered by OpenEdv-开源电子网

© 2001-2030 OpenEdv-开源电子网

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