开发环境:TMS320C5535 eZdsp+CCS 4.2.2
按照QuickStartGuide那个PDF的方法导入工程E:\program files\Texas Instruments\C5535\ccsv4\emulation\boards\ezdsp5535_v1\tests\led
工程中已经添加的路径:"E:\program files\Texas Instruments\C5535\bios_6_32_02_39\packages\ti\bios\include"
"E:\program files\Texas Instruments\C5535\xdctools_3_22_01_21\include"
"E:\program files\Texas Instruments\C5535\ccsv4\emulation\boards\ezdsp5535_v1\include"
编译时报错“cound not open sourece file xdc/std.h"
Shine:
看一下std.h是否在那三个路径下
另外,你在inclued std.h时另外指定路径了?
Changhong Zhang:
回复 Shine:
std.h就是在第一个路径下面的,std.h里面有一行”#include <xdc/std.h>“,编译时错误提示是
could not open source file "xdc/std.h"
Shine:
回复 Changhong Zhang:
试试把 xdc/ 路径去掉,直接写#include <std.h>
Changhong Zhang:
回复 Shine:
谢谢!这一条不报错了(还有其他错误,感觉还是要添加include路径)。不过自己包含自己总感觉有点奇怪==
Changhong Zhang:
回复 Shine:
编译好像没错了,又出现了几条link错误,”cannot find file "cslVC5505.lib" 和cannot find file "ezdsp5535bsl.lib" ,请问怎么解决呀?
我添加新的include路径E:\program files\Texas Instruments\C5535\ccsv4\emulation\boards\ezdsp5535_v1\c55xx_csl\ccs_v4.0_examples\cslVC5505\Debug
这个路径里面有cslVC5505.lib但是还是会提示”cannot find file "cslVC5505.lib“
Changhong Zhang:
回复 Shine:
搞定了,谢谢!我没有添加link的路径,把库文件的路径添加到link的路径就OK了