你的浏览器版本过低,可能导致网站不能正常访问!
为了你能正常使用网站功能,请使用这些浏览器。

查看: 8339|回复: 4

提示如下编译错误怎么办

[复制链接]

2

主题

8

回帖

0

蝴蝶豆

新手上路

最后登录
1970-1-1
发表于 2012-3-31 20:58:09 | 显示全部楼层 |阅读模式
编译后提示:
The command: "cxstm8 +mods0 +debug -pxp -no -pp -l -i"C:\Program Files\COSMIC\CXSTM8\Hstm8"  -clDebug\ -coDebug\ main.c" has failed, the returned value is: 1 exit code=1.
 
=================================================
谢谢解答
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
======================================
----------- Project rs2k_driver - STM8 Cosmic - Configuration Debug -------------
Removing intermediate files ... Done!
 
----------- Project rs2k_driver - STM8 Cosmic - Configuration Debug -------------
 
Compiling main.c...
cxstm8 +mods0 +debug -pxp -no -pp -l -i"C:\Program Files\COSMIC\CXSTM8\Hstm8"  -clDebug\ -coDebug\ main.c
#error cpstm8 rs2k_driver.c:107(30+7) incompatible argument type
#error cpstm8 rs2k_driver.c:107(42) illegal void usage
main.c:
 The command: "cxstm8 +mods0 +debug -pxp -no -pp -l -i"C:\Program Files\COSMIC\CXSTM8\Hstm8"  -clDebug\ -coDebug\ main.c" has failed, the returned value is: 1
exit code=1.
 
rs2k_driver.elf - 4 error(s), 0 warning(s)

 
回复

使用道具 举报

42

主题

101

回帖

0

蝴蝶豆

高级会员

最后登录
1970-1-1
发表于 2012-4-1 09:06:09 | 显示全部楼层

RE:提示如下编译错误怎么办

你的这些情况 我还没有见过,学习了,期待高手来解答!
回复 支持 反对

使用道具 举报

134

主题

4489

回帖

239

蝴蝶豆

版主

最后登录
2020-12-9
发表于 2012-4-1 09:27:04 | 显示全部楼层

RE:提示如下编译错误怎么办

rs2k_driver.c:107行看看,是不是有语法错误。
回复 支持 反对

使用道具 举报

1

主题

14

回帖

0

蝴蝶豆

新手上路

最后登录
1970-1-1
发表于 2012-4-13 11:24:12 | 显示全部楼层

RE:提示如下编译错误怎么办

这是简单的语法错误 incompatible argument type 类型申明有问题
回复 支持 反对

使用道具 举报

0

主题

6

回帖

0

蝴蝶豆

新手上路

最后登录
1970-1-1
发表于 2012-9-20 17:41:48 | 显示全部楼层

回复:提示如下编译错误怎么办

cxstm8 +mods0 +debug -pxp -no -pp -l -i..\..\library\ws_firmware\gpio -i..\..\library\ws_firmware -i..\库函数\固件\gpio -i..\库函数\固件 -i"C:\Program Files\COSMIC\CXSTM8\Hstm8"  -clDebug\ -coDebug\ main.c
#error cpstm8 C:\Program Files\COSMIC\CXSTM8\Hstm8\mods0.h:0 FlexLM No such feature exists
main.c:
The command: "cxstm8 +mods0 +debug -pxp -no -pp -l -i..\..\library\ws_firmware\gpio -i..\..\library\ws_firmware -i..\库函数\固件\gpio -i..\库函数\固件 -i"C:\Program Files\COSMIC\CXSTM8\Hstm8"  -clDebug\ -coDebug\ main.c" has failed, the returned value is: 1
exit code=1.
回复 支持 反对

使用道具 举报

关于意法半导体
我们是谁
投资者关系
意法半导体可持续发展举措
创新与技术
招聘信息
联系我们
联系ST分支机构
寻找销售人员和分销渠道
社区
媒体中心
活动与培训
隐私策略
隐私策略
Cookies管理
行使您的权利
关注我们
st-img 微信公众号
st-img 手机版