论坛» 企业专区» Renesas

重新建工程,编译出错问题

菜鸟
2013-09-01 15:23 1楼

问题如下:

========== Start build all(2013年9月1日 15:10:47) ==========
------ Start build(sample_LED, DefaultBuild) ------
>r_cg_timer_user.c
r_cg_macrodriver.h(39) : CC78K0R error E0802: Illegal preprocess directive
r_cg_macrodriver.h(40) : CC78K0R error E0802: Illegal preprocess directive
r_cg_macrodriver.h(41) : CC78K0R error E0802: Illegal preprocess directive
r_cg_macrodriver.h(42) : CC78K0R error E0802: Illegal preprocess directive
r_cg_macrodriver.h(43) : CC78K0R error E0802: Illegal preprocess directive
r_cg_macrodriver.h(44) : CC78K0R error E0802: Illegal preprocess directive
r_cg_timer_user.c(39) : CC78K0R error E0301: Syntax error
r_cg_timer_user.c(39) : CC78K0R error E0701: External definition syntax
r_cg_timer_user.c(39) : CC78K0R error E0701: External definition syntax
r_cg_timer_user.c(39) : CC78K0R error E0701: External definition syntax
r_cg_timer_user.c(39) : CC78K0R error E0701: External definition syntax
r_cg_timer_user.c(39) : CC78K0R error E0701: External definition syntax
r_cg_timer_user.c(39) : CC78K0R error E0701: External definition syntax
r_cg_timer_user.c(39) : CC78K0R error E0701: External definition syntax
r_cg_timer_user.c(66) : CC78K0R error E0523: Illegal bit,boolean type operation
r_cg_timer_user.c(66) : CC78K0R error E0711: Undeclared 'P13' ; function 'r_tau0_channel0_interrupt'
r_cg_timer_user.c(66) : CC78K0R error E0523: Illegal bit,boolean type operation
r_cg_timer_user.c(66) : CC78K0R error E0711: Undeclared 'P13' ; function 'r_tau0_channel0_interrupt'
------ Build ended(Error:18, Warning:0) ------
========== Ended(Success:0 Projects, Failed:1 Projects)(2013年9月1日 15:10:47) ==========

专家
2013-09-01 15:59 2楼
贴上工程来
菜鸟
2013-09-01 16:29 3楼
坐等大牛 一样的问题啊 求大神指导
助工
2013-12-13 11:58 4楼

遇上同样的问题的,求大神解惑


SLE4442-0.h(14) : CC78K0R error E0301: Syntax error
SLE4442-0.h(14) : CC78K0R error E0323: Missing ';'
SLE4442-0.h(14) : CC78K0R error E0301: Syntax error
SLE4442-0.h(14) : CC78K0R error E0701: External definition syntax
SLE4442-0.h(14) : CC78K0R error E0701: External definition syntax
SLE4442-0.h(14) : CC78K0R error E0701: External definition syntax

菜鸟
2018-04-11 08:05 5楼

应该是编程不规范造成的,

c程序中, 有声明,定义, h文件中有外部引用说明, bit和byte等是关键字不能用, 前面加个下划线啥的,

共5条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册]