标题: 求助6678新建的OpenMP编译不过 [打印本页] 作者: cl17726 时间: 2017-9-13 10:06 标题: 求助6678新建的OpenMP编译不过 新建小端模式,ELF输出,TMS320C6678,RTSC工程:
[attach]2784[/attach]
选Target是ti.targets.elf.C66,Platform是ti.runtime.openmp.platforms.evm6678,Build-profile是release.XDC版本3.50.2.20
[attach]2785[/attach]
复制高亮的两个文件到工程:
[attach]2786[/attach]
启用了OpenMP模型.
[attach]2787[/attach]
启用了--priority
[attach]2788[/attach]
出现错误:
error: xdc.cfg.Program: "C:/ti/xdctools_3_50_02_20_core/packages/xdc/cfg/Program.xs", line 71: xdc.cfg.Program : The package 'ti.sysbios.family.c64p' is not compatible with XDCtools used in this build. Please either use XDCtools compatible with that package, or update the product containing that package, or rebuild the package with XDCtools 3.50 or later.
js: "C:/ti/xdctools_3_50_02_20_core/packages/xdc/cfg/Main.xs", line 160: Error: Configuration failed!
gmake.exe: *** [package/cfg/omp_config_pe66.xdl] Error 1
js: "C:/ti/xdctools_3_50_02_20_core/packages/xdc/tools/Cmdr.xs", line 52: Error: xdc.tools.configuro: configuration failed due to earlier errors (status = 2); 'linker.cmd' deleted.
gmake[1]: *** [build-1916027617-inproc] Error 1
gmake: *** [build-1916027617] Error 2
gmake[1]: Leaving directory 'C:/Users/TaterLi/workspace_v7/OpenMP_Hello/Debug'
subdir_rules.mk:16: recipe for target 'build-1916027617' failed
gmake: Target 'all' not remade because of errors.
>> Compilation failure
subdir_rules.mk:9: recipe for target 'hello.obj' failed
"../hello.c", line 13: fatal error #1965: cannot open source file "omp.h"
1 catastrophic error detected in the compilation of "../hello.c".
Compilation terminated.
gmake: *** [hello.obj] Error 1
gmake: Target 'all' not remade because of errors.