Compiling ..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c...
cxstm8 +modsl +debug -pxp -no -pp -l -iD:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Libraries\STM8S_StdPeriph_Driver\inc -iD:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Utilities\STM8S_EVAL -iD:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Utilities\STM8S_EVAL\Common -iD:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Utilities\STM8S_EVAL\STM8-128_EVAL -iD:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Project -iD:\Hstm8 -clDebug\ -coDebug\ ..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c
#error cpstm8 D:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Libraries\STM8S_StdPeriph_Driver\inc\stm8s.h:2707 can't open stm8s_conf.h
#error cpstm8 ..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c:56(14) missing prototype
#error cpstm8 ..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c:72(14) missing prototype
#error cpstm8 ..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c:111(14) missing prototype
..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c:
The command: "cxstm8 +modsl +debug -pxp -no -pp -l -iD:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Libraries\STM8S_StdPeriph_Driver\inc -iD:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Utilities\STM8S_EVAL -iD:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Utilities\STM8S_EVAL\Common -iD:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Utilities\STM8S_EVAL\STM8-128_EVAL -iD:\STM8A-DISCOVERY\stsw-stm8069\STM8S_StdPeriph_Lib\Project -iD:\Hstm8 -clDebug\ -coDebug\ ..\..\..\..\libraries\stm8s_stdperiph_driver\src\stm8s_wwdg.c" has failed, the returned value is: 1
exit code=1.
我的头文件的的路径已经放在了setting-C Compile-category-preprocessor的additional include direction里面了,可还是会报错,求大神指导。。。。 |