stvd编译失败,出现如下错误。
(1)Compiling uart2.c...cxstm8 +warn +mods0 +debug -pxp -no -l -iF:\stvd\Hstm8-clDebug\ -coDebug\ uart2.c
uart2.c:
WIN execution failed
The command: "cxstm8 +warn +mods0 +debug -pxp -no -l -iF:\stvd\Hstm8-clDebug\ -coDebug\ uart2.c" has failed, the returned value is: 2
exit code=2.
请问大神们WIN execution failed这句是什么意思,还有在文件夹中只有cxstm8.exe时编译错误显示
(2)Compiling uart2.c...
cxstm8 +warn +mods0 +debug -pxp -no -l -iF:\stvd\Hstm8-clDebug\ -coDebug\ uart2.c
can't open file F:\stvd\cxstm8.cxf
The command: "cxstm8 +warn +mods0 +debug -pxp -no -l -iF:\stvd\Hstm8-clDebug\ -coDebug\ uart2.c" has failed, the returned value is: 1
exit code=1.。
当我向该文件夹中添加了cxstm8.cxf文件后显示第一个错误。
是用STVD的吧,看起来像是C编译器没弄好 应该不是,project setting 和 toolset里都设定好了,用的cosmic编译器,路径都寻找到了根目录。然后我重新安装ST Tools 后再编译又出现下列问题。
Compiling clock.c...
cxstm8 +mods0 +debug -pxp -no -pp -l -i"C:\Program Files (x86)\COSMIC\CXSTM8_32K\Hstm8"-clDebug\ -coDebug\ clock.c
#error cpstm8 C:\Program Files (x86)\COSMIC\CXSTM8_32K\Hstm8\mods0.h:1 FlexLM No such feature exists
clock.c:
The command: "cxstm8 +mods0 +debug -pxp -no -pp -l -i"C:\Program Files (x86)\COSMIC\CXSTM8_32K\Hstm8"-clDebug\ -coDebug\ clock.c" has failed, the returned value is: 1
exit code=1.
dahume_mini.elf - 3 error(s), 0 warning(s)
问题已经解决,是我安装完cosmic后忘记用CXSTM8_32k_patch文件注册了。
页:
[1]