结果编译后,总是输出这样的结果

[复制链接]
412|11
手机看帖
扫描二维码
随时随地手机跟帖
xxrs|  楼主 | 2018-7-10 18:17 | 显示全部楼层 |阅读模式

#include <m8c.h>        // part specific constants and macros
#include "PSoCAPI.h"    // PSoC API definitions for all User Modules

void delay(unsigned int x)
{
   while(x--);
}

void main()
{
while(1)
   {
   PRT0DR=0x00;
   delay(5000);
    PRT0DR=0x01;
    }// Insert your main routine code here.
}

结果编译后,总是输出这样的结果
Generating source code for Device Configuration...
The source code has been generated successfully
Compiling...
creating project.mk
./main.c

!E D:\psoc\tools\InvalidCompilerLicense.txt(0): ...Operation terminated. Compiler License invalid or not accessible

D:\psoc\tools\make: *** [obj/main.o] Error -1
main.o - 2 error(s) 0 warning(s)
chenjunt| | 2018-7-10 18:19 | 显示全部楼层
然后呢?你是怎么应对这个的呢

使用特权

评论回复
xxrs|  楼主 | 2018-7-10 18:22 | 显示全部楼层

看不懂咋回事,这应该是和程序的语法错误没关系的,因为我拿过师兄的程序试过,也是这样

使用特权

评论回复
xxmmi| | 2018-7-10 18:24 | 显示全部楼层
你用的哪个版本的designer?

使用特权

评论回复
kangzj| | 2018-7-10 18:28 | 显示全部楼层


楼主用的是什么编译器?? HI-TECH?

使用特权

评论回复
chuxh| | 2018-7-10 18:30 | 显示全部楼层
楼主看看你是不是添加了某个模块,但你没有去配置呢。。。最后截图看看咯。。

使用特权

评论回复
stly| | 2018-7-10 18:32 | 显示全部楼层
楼主用的什么版本?什么编译器

使用特权

评论回复
morrisk| | 2018-7-10 18:35 | 显示全部楼层

Compiler License invalid or not accessible
这句话怎么翻译?

使用特权

评论回复
chenjunt| | 2018-7-10 18:37 | 显示全部楼层
就是你编译器不是正版,license 好歹弄个能用的啊

使用特权

评论回复
zyf部长| | 2018-7-10 18:39 | 显示全部楼层

你的编译软件需要**或者注册. 英语看不懂就百度翻译一下罗.

使用特权

评论回复
morrisk| | 2018-7-10 18:42 | 显示全部楼层

Compiler License invalid or not accessible
没用过,不过看提示是软件没有注册吧。

使用特权

评论回复
xxrs|  楼主 | 2018-7-10 18:44 | 显示全部楼层

嗯,我再好好缕一缕吧,有了好消息及时通知大家,结贴喽

使用特权

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

本版积分规则

405

主题

7415

帖子

1

粉丝