could not open source file "Helloctfg.h"怎么改??

[复制链接]
 楼主| shiguo 发表于 2007-10-19 15:26 | 显示全部楼层 |阅读模式
 楼主| shiguo 发表于 2007-10-19 15:28 | 显示全部楼层

补充上

  在编译中错误,显示上面的信息.本人初学DSP请指教.
computer00 发表于 2007-10-19 15:33 | 显示全部楼层

去把Helloctfg.h这个文件找到。

  
 楼主| shiguo 发表于 2007-10-19 15:39 | 显示全部楼层

下面是这个文件

#define&nbsp;CHIP_5416&nbsp;1<br /><br />/*&nbsp;&nbsp;Include&nbsp;Header&nbsp;Files&nbsp;&nbsp;*/<br />#include&nbsp;&ltstd.h&gt<br />#include&nbsp;&lthst.h&gt<br />#include&nbsp;&ltswi.h&gt<br />#include&nbsp;&lttsk.h&gt<br />#include&nbsp;&ltlog.h&gt<br />#include&nbsp;&ltsts.h&gt<br /><br />#ifdef&nbsp;__cplusplus<br />extern&nbsp;&quot;C&quot;&nbsp;{&nbsp;<br />#endif<br /><br />extern&nbsp;HST_Obj&nbsp;RTA_fromHost;<br />extern&nbsp;HST_Obj&nbsp;RTA_toHost;<br />extern&nbsp;SWI_Obj&nbsp;KNL_swi;<br />extern&nbsp;TSK_Obj&nbsp;TSK_idle;<br />extern&nbsp;LOG_Obj&nbsp;LOG_system;<br />extern&nbsp;LOG_Obj&nbsp;Hello;<br />extern&nbsp;STS_Obj&nbsp;IDL_busyObj;<br />extern&nbsp;void&nbsp;CSL_cfgInit();<br /><br />#ifdef&nbsp;__cplusplus<br />}<br />#endif&nbsp;/*&nbsp;extern&nbsp;&quot;C&quot;&nbsp;*/<br />
 楼主| shiguo 发表于 2007-10-19 15:44 | 显示全部楼层

在Include目录下有俩个Helloctfg.h文件

<br /><br />&nbsp;&nbsp;其中一个打不开,正确的是应该生成一个helloctfg.h&nbsp;还是俩个.
computer00 发表于 2007-10-19 15:47 | 显示全部楼层

不是生成,而是你用include时,要指名这个文件所在的位置

  
 楼主| shiguo 发表于 2007-10-19 15:48 | 显示全部楼层

在哪指明呀??

  
computer00 发表于 2007-10-19 15:51 | 显示全部楼层

就是在你的程序中啊,或者将那个文件复制到你的工程目录

然后双击那个报错,将那里的语句改为:<br /><br />#include&nbsp;&quot;Helloctfg.h&quot;
 楼主| shiguo 发表于 2007-10-19 16:06 | 显示全部楼层

将那个文件复制到你的工程目录下???

&nbsp;您的意思是将helloctfg.h的所有文件复制到c语言中???&nbsp;请详细点谢谢了!!
computer00 发表于 2007-10-19 16:10 | 显示全部楼层

helloctfg.h 这个文件复制到你的工程目录下。

  
 楼主| shiguo 发表于 2007-10-19 16:13 | 显示全部楼层

问题解决了,是因为我c程序中那个文件名写错了,但仍谢谢你

&nbsp;&nbsp;谢谢了
您需要登录后才可以回帖 登录 | 注册

本版积分规则

36

主题

105

帖子

1

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