-
我按照连接,找到例子ezdsp5535_BSL_RevC,我在用CCS4编译ccs_v4.0_examples中的例子,都会出现类似于这样一个错误,
“
error: cannot find file "Debug/cslVC5505.lib"
undefined first referenced symbol in file ——— —————- _GPIO_clearInt ./gpio_Input_Pin_Example.obj
_GPIO_configBit ./gpio_Input_Pin_Example.obj
_GPIO_enableInt ./gpio_Input_Pin_Example.obj
_GPIO_open ./gpio_Input_Pin_Example.obj
_GPIO_read ./gpio_Input_Pin_Example.obj
_GPIO_reset ./gpio_Input_Pin_Example.obj
_GPIO_statusBit ./gpio_Input_Pin_Example.obj
_GPIO_write ./gpio_Input_Pin_Example.obj
_IRQ_clear ./gpio_Input_Pin_Example.obj
_IRQ_clearAll ./gpio_Input_Pin_Example.obj
_IRQ_disable ./gpio_Input_Pin_Example.obj
_IRQ_disableAll ./gpio_Input_Pin_Example.obj
_IRQ_enable ./gpio_Input_Pin_Example.obj
_IRQ_globalDisable ./gpio_Input_Pin_Example.obj
_IRQ_globalEnable ./gpio_Input_Pin_Example.obj
_IRQ_plug ./gpio_Input_Pin_Example.obj
_IRQ_setVecs ./gpio_Input_Pin_Example.obj
_VECSTART ./gpio_Input_Pin_Example.objerror: unresolved symbols remain
error: errors encountered during linking; "CSL_GPIO_InputPinExample.out" not
built” 请问一下,这些例子是需要修改的吗?还是我在其他地方出现了什么错误,谢谢您
Shine:
从错误提示看,是少了cslVC5505.lib库,到下面的链接下载C55XCSL-LOWPOWER库。http://www.ti.com/tool/sprc133
guangsheng zheng:
回复 Shine:
您好,我按照你的方式安装了C55XCSL-LOWPOWER,我下载的文件是“TMS320C55XXCSL-LOWPWR-03.04.00.02-Setup”,安装以后还是不行,仍然还是原来的错误。请问我是不是哪里没操作正确?
Shine:
回复 guangsheng zheng:
请问你把cslVC5505.lib库加到你的工程里了吗?
guangsheng zheng:
回复 Shine:
您好,我好像没有添加进去,不过按照教程将lib文件放在了Debug文件下,还是有错,请问我应该怎么添加呢?谢谢
Shine:
回复 guangsheng zheng:
右键工程文件,在下拉菜单中选择Add Files…添加.lib文件。
guangsheng zheng:
回复 Shine:
谢谢您,但是现在还有两个错误
“
error: cannot find file "Debug/cslVC5505.lib"error: errors encountered during linking;
”
我已经按照您的方法加了LIB文件,之前是10个错误,现在还剩下两个。是因为为什么问题呢?谢谢
Shine:
回复 guangsheng zheng:
右键工程文件->Show Build Settings…->C5500 Linker->File Search Path->Include Library file or command file as input, 把这里的cslVC5505.lib去掉或者改成绝对路径。
guangsheng zheng:
回复 Shine:
我用的CSS4,我好想按照你的方法没有找到“右键工程文件->Show Build Settings…->C5500 Linker->File Search Path->Include Library file or command file as input”,右键里面没有“Show Build Settings”。
Shine:
回复 guangsheng zheng:
那你到ccs->project菜单里找找,可能名称不一样。
guangsheng zheng:
回复 Shine:
谢谢了,解决了
TI中文支持网

