我需要修改nimu_eth.c函数里的程序,现在导入该工程的时候发现工程目录下nimu_eth_evmc6670l 打不开,然后程序编译的时候就失败了。
**** Build of configuration Debug for project nimu_eth_evmc6670l ****
"D:\\ti\\ccsv5\\utils\\bin\\gmake" -k all
'Building file: ../nimu_lib.cfg'
'Invoking: XDCtools'
"D:/ti/xdctools_3_23_04_60" –xdcpath="D:/ti/ndk_2_21_01_38/packages;D:/ti/bios_6_33_06_50/packages;D:/tik_C6670_1_1_2_5/packages;D:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6670 -r whole_program -c "D:/ti/C6000 Code Generation Tools 7.4.2" "../nimu_lib.cfg"
making package.mak (because of package.bld) …
generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) …
configuring nimu_lib.pe66 from package/cfg/nimu_lib_pe66.cfg …
cle66 package/cfg/nimu_lib_pe66.c …
Fatal error: could not open source file "Code"
1 fatal error detected in the compilation of "Code".
Compilation terminated.
>> Compilation failure
gmake.exe: *** [package/cfg/nimu_lib_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: *** [configPkg/compiler.opt] Error 1
gmake: Target `all' not remade because of errors.
**** Build Finished ****
我不知道哪儿出错了,恳请大家帮忙一下,该怎么解决。
Thomas Yang1:
您先看看所有文件是否都导入了,然后路径设置是否正确。一般这种例子工程都有readme之类的,看看CCS编译环境的安装组件,XDC TOOL, SYS/BIOS version这些是否和readme要求的一样