TI中文支持网
TI专业的中文技术问题搜集分享网站

OMP问题

这个问题是下面网址上的一个例子:6.2.3.1

http://processors.wiki.ti.com/index.php/BIOS_MCSDK_2.0_User_Guide#Compiling_OpenMP_code_with_the_TI_compiler_using_Makefile

我的平台:软件:CCSv5.2; 硬件平台:6678EVM;

CCS报错界面见附件里面。

下面是console报错信息:

**** Build of configuration Debug for project Hello_World_example ****

 

F:\ti\ccsv5\utils\bin\gmake -k all

'Building file: ../helloworld.cfg'

'Invoking: XDCtools'

"F:/ti/xdctools_3_23_04_60/xs" –xdcpath="F:/ti/ipc_1_24_03_32/packages;F:/ti/mcsdk_2_01_02_06/demos;F:/ti/pdk_C6678_1_1_2_6/packages;F:/ti/omp_1_01_03_02/packages;F:/ti/bios_6_33_05_46/packages;F:/ti/uia_1_01_00_04/packages;F:/ti/ccsv5/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.elf.C66 -p ti.platforms.evm6678 -r release -c "F:/Program Files/Texas Instruments/C6000 Code Generation Tools 7.4.1" "../helloworld.cfg"

making package.mak (because of package.bld) …

generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) …

configuring helloworld.xe66 from package/cfg/helloworld_pe66.cfg …

js: "F:/ti/omp_1_01_03_02/packages/ti/omp/utils/OpenMP.xs", line 142: TypeError: Cannot read property "base" from undefined (F:/ti/omp_1_01_03_02/packages/ti/omp/utils/OpenMP.xs#142)

    "F:/ti/omp_1_01_03_02/packages/ti/omp/utils/OpenMP.xs", line 105

gmake.exe: *** [package/cfg/helloworld_pe66.xdl] Error 1

js: "F:/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 ****

 

James Li2:

RTSC platform 应该选  ti.omp.examples.platforms.evm6678

如果找不到这个platform那就要把 OMP的安装路径加到 repositories,参见附图

MadHatter:

回复 James Li2:

我也遇到这个问题,但是我按照楼上的加了omp的packages 还有有omp.examples.platform的文件目录,platform中都无法找到omp.examples.platform,编译也不通过

赞(0)
未经允许不得转载:TI中文支持网 » OMP问题
分享到: 更多 (0)