快乐的小陈 发表于 2015-1-14 23:12:26

STM8的编译问题

----------- Project 2 - STM8 Cosmic - Configuration Debug -------------

Compiling drv_base_timer.c...
cxstm8 +debug -pxp -no -l +mods0 -pp -i"C:\Program Files (x86)\COSMIC\CXSTM8_32K\Hstm8"-clDebug\ -coDebug\ drv_base_timer.c
drv_base_timer.c:

Compiling main.c...
cxstm8 +debug -pxp -no -l +mods0 -pp -i"C:\Program Files (x86)\COSMIC\CXSTM8_32K\Hstm8"-clDebug\ -coDebug\ main.c
#error cpstm8 main.c:44(4) missing prototype
main.c:
The command: "cxstm8 +debug -pxp -no -l +mods0 -pp -i"C:\Program Files (x86)\COSMIC\CXSTM8_32K\Hstm8"-clDebug\ -coDebug\ main.c " has failed, the returned value is: 1
exit code=1.

2.elf - 3 error(s), 0 warning(s)

出现这样的问题,望高手指点。

chendiand 发表于 2015-1-22 19:59:00

把程序贴上来看看

快乐的小陈 发表于 2015-1-24 12:59:19

chendiand 发表于 2015-1-22 19:59
把程序贴上来看看

   问题已解决,是编译器的原因,谢谢!

liaihua1997 发表于 2020-9-16 18:12:23

这个问题怎么解决的,我也遇到了这个问题了
页: [1]
查看完整版本: STM8的编译问题