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

openMP的helloword的demo出错

按照官方资料http://processors.wiki.ti.com/index.php/OpenMP_on_C6000#Installation,搭建了第一个案例,自己选择的目标配置

但是运行的时候报错

<Linking>

undefined first referenced symbol in file ——— —————- __TI_tls_block_size C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocalStorage.oe66>
__TI_tls_init C:\ti\omp_1_01_03_02\packages\ti\omp\utils\lib\debug\ti.omp.utils.ae66<ThreadLocalStorage.oe66>
__c6xabi_errno_addr C:\ti\omp_1_01_03_02\packages\ti\omp\lib\debug\ti.omp.ae66<env.oe66>

error #10234-D: unresolved symbols remain
error #10010: errors encountered during linking; "openmp.out" not built

>> Compilation failure
gmake: *** [openmp.out] Error 1
gmake: Target `all' not remade because of errors.

**** Build Finished ****

是哪里出问题了。我这边用的是关盘提供的CCS 5.2.1版本,编译器是7.3.4的,MCSDK是1.1.25的都是安装CCS的时候一起安装的,之前看MCSDK2.0的需要编译器7.4以上版本,我这里低版本的可以不,是不是这个原因出的错啊。

yuanchao gan:

回复 Shine:

应该是吧,我重新安装了ccs5.5版本的,自带的编译器时7.4的,没什么问题了,谢谢

yuanchao gan:

回复 Shine:

你好,ccs5.5版本的安装MCSDK后无法加载NDK,请问怎么解决,看了很多都没解决,有说用CCS5.4+MCSDK比较稳定,但这样能不能保证编译器时7.4以上的版本

赞(0)
未经允许不得转载:TI中文支持网 » openMP的helloword的demo出错
分享到: 更多 (0)