|
新建小端模式,ELF输出,TMS320C6678,RTSC工程:
选Target是ti.targets.elf.C66,Platform是ti.runtime.openmp.platforms.evm6678,Build-profile是release.XDC版本3.50.2.20
复制高亮的两个文件到工程:
启用了OpenMP模型.
启用了--priority
出现错误:
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.
同样方法再次新建工程,只区别于XDC版本是3.32.2.25和3.32.1.22,均不能通过.但错误都是:
>> 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.
不知道怎么解决,求助.
|
本帖子中包含更多资源
您需要 登录 才可以下载或查看,没有帐号?立即注册
x
|