[其他ST产品] stvd编译失败,出现如下错误。

[复制链接]
336|2
 楼主| elephant00 发表于 2022-10-25 09:48 | 显示全部楼层 |阅读模式
(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文件后显示第一个错误。
两只袜子 发表于 2022-10-25 11:00 | 显示全部楼层
是用STVD的吧,看起来像是C编译器没弄好

jcky001 发表于 2022-10-25 11:23 | 显示全部楼层
最好先测试一下你的编译器是否真的安装有效。可以编译一个已知OK的工程,比如官方库的模板。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

1031

主题

3946

帖子

7

粉丝
快速回复 在线客服 返回列表 返回顶部