请问这个错误怎么改?

[复制链接]
 楼主| bingshuiwu 发表于 2014-2-28 09:44 | 显示全部楼层 |阅读模式
TI, ge, TE, BUG, IO
[main.c] "D:\ccs\C2000\cgtools\bin\cl2000" -g -q -fr"D:/ccs/MyProjects/yrpwm/Debug" -d"_DEBUG" -d"LARGE_MODEL" -ml -v28 -@"Debug.lkf" "main.c"

"target.h", line 38: fatal error: #error Critical  A target must be defined Please define a target in  the CCS Build Options/Compiler Tab/Preprocessor/ Symbol defines

1 fatal error detected in the compilation of "main.c".
Compilation terminated.
zhangmangui 发表于 2014-2-28 16:54 | 显示全部楼层
从提示来看  应该是需要在build option中对某个进行预编译
Preprocessor
具体说不清楚
拿起书本 发表于 2014-2-28 20:29 | 显示全部楼层
选择Project/Rebuild All或单击 (Rebuild All)菜单条按钮, CCS重新进行编辑、汇编、连接工程里的所有文件。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

9

主题

22

帖子

0

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

9

主题

22

帖子

0

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