打印
[其他ST产品]

stvd编译失败,出现如下错误。

[复制链接]
171|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的工程,比如官方库的模板。

使用特权

评论回复
发新帖 我要提问
您需要登录后才可以回帖 登录 | 注册

本版积分规则

933

主题

2598

帖子

5

粉丝