如题所述,我最近在进行C6678与PC通过网口通信,想先学习一下例程,但将mcsdk_2_01_02_06\examples\ndk下的client和helloworld导入后都无法编译通过,已经装了相应版本的xdctools,并将工程中源文件路径修改到了工作目录下,如下为console的信息
**** Build of configuration Debug for project client_evmc6678l ****
"D:\\TI\\ccsv8\\utils\\bin\\gmake" -k allBuilding file: "../client.cfg"
Invoking: XDCtools
"D:/TI/xdctools_3_23_04_60/xs" –xdcpath="D:/TI/pdk_C6678_1_1_2_6/packages;D:/TI/ndk_2_21_02_43/packages;D:/TI/bios_6_33_06_50/packages;D:/TI/mcsdk_2_01_02_06/demos;D:/TI/ccsv8/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r debug -c "D:/TI/C6000 Code Generation Tools 7.4.0" "../client.cfg"
making package.mak (because of package.bld) …
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) …
configuring client.xe66 from package/cfg/client_pe66.cfg …
cle66 package/cfg/client_pe66.c …
>> Compilation failure
subdir_rules.mk:19: recipe for target 'build-65758303-inproc' failed
Fatal error: could not open source file "Code"
1 fatal error detected in the compilation of "Code".
Compilation terminated.
gmake.exe: *** [package/cfg/client_pe66.oe66] Error 1
js: "D:/TI/xdctools_3_23_04_60/packages/xdc/tools/Cmdr.xs", line 51: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-65758303-inproc] Error 1
gmake: *** [build-65758303] Error 2
subdir_rules.mk:16: recipe for target 'build-65758303' failed
gmake: Target 'all' not remade because of errors.
**** Build Finished ****
Shine:
从错误提示看打不看源文件,请问Code是什么源文件?路径对吗?
zy979228369:
回复 Shine:
我从mcsdk中导入的工程,没有任何修改,我也不知道code是什么文件
Shine:
回复 zy979228369:
建议用低版本的CCS,ccs v5版本。
zy979228369:
回复 Shine:
我在虚拟机中同样的环境,可以正常编译,我现在重新安装一下CCS试一下
TI中文支持网

