使用CCS5.4,进行C64X+DSPLIB Build Procedure时,打开makefile文件,进行更改设置如下:
# (Mandatory) Specify where various tools are installed.
# C6X_GEN_INSTALL_DIR – Code Generation version to be used for building CCS project
export C6X_GEN_INSTALL_DIR ?= C:/Program Files(x86)/Texas Instruments/C6000 Code Generation Tools 7.4.0
# CCSCGTVER – Code Generation version to be used for building CCS project
export CCSCGTVER ?= 7.4.0
# CCS_INSTALL_DIR – TI Code Composer Studio install directory
# export CCSV4_INSTALL_DIR ?= C:/Program Files/Texas Instruments/ccsv4 //使用的是CCS5.4,故将此语句屏蔽
export CCSV5_INSTALL_DIR ?= C:/Program Files/Texas Instruments/ccsv5
# ifneq ($(findstring $(CCSVERSION), CCSV4.2),) //使用的是CCS5.4,故将此语句屏蔽
# export CCS_INSTALL_DIR ?= $(CCSV4_INSTALL_DIR) //使用的是CCS5.4,故将此语句屏蔽
# export ECLIPSE_CMD ?= java -jar "$(CCS_INSTALL_DIR)/eclipse/startup.jar" //使用的是CCS5.4,故将此语句屏蔽
# endif //使用的是CCS5.4,故将此语句屏蔽
ifneq ($(findstring $(CCSVERSION), CCSV5),)
export CCS_INSTALL_DIR ?= $(CCSV5_INSTALL_DIR)
export ECLIPSE_CMD ?= "$(CCS_INSTALL_DIR)/eclipse/eclipsec.exe" -noSplash
endif
# DSPLIB_INSTALL_DIR – DSPLIB install directory
export DSPLIB_INSTALL_DIR ?= C:/ti/dsplib_c64Px_3_1_1_1/packages
# Common Macros used in make
ifndef RMDIR export RMDIR = DEL /Q /F /S endif
ifneq ($(findstring $(SHELL), sh.exe),) quote = " else quote = ' endif
# PHONY Targets .PHONY: all clean cleanall
# FORCE Targets FORCE:
# all rule all: .executables .executables: .projects .projects: .xdcenv.mak:
然后,打开DSPLIB工程,找到properties,更改如下:
(1)Build command:${CCS_UTILS_DIR}/bin/gmake CCSVERSION=CCSV5 -k
(2) Buils directory:${workspace_loc:/DSPLIB}
找到 Include Options,添加#include serch path:
"${CG_TOOL_ROOT}/include"
"C:\Program Files (x86)\Texas Instruments\C6000 Code Generation Tools 7.4.0\include"
找到 File search path,添加library serch path:
"${CG_TOOL_ROOT}/lib"
"${CG_TOOL_ROOT}/include"
然后对工程编译,在console结果中,会出现如下错误提示:
**** Build of configuration Debug for project DSPLIB ****
"C:\\ti\\ccsv5\\utils\\bin\\gmake" CCSVERSION=CCSV5 -k all gmake: *** No rule to make target `all'.
**** Build Finished ****
现在自己无法解决,请帮助解决,谢谢!
liangyu zhao:
您好,我遇到了和您一样的问题,您的问题是怎么解决的呢?
JstHeren:
打开makefile文件?是在哪里打开,我也碰到同样问题了