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

CCSv6.1.2编译x265_1.8出现错误

CCSv6.1.2中设置Language Options如下:

Relaxed parsing

Enable C++ exception handling

Support C++ run-time type information

Enable support for GCC exceptions

设置General如下:

Family:C6000

Variant:TMS320DM6467

compiler:TI v7.4.14

编译x265_1.8出现如下错误:

Description    Resource    Path    Location    Type
#20 identifier "__builtin_clz" is undefined    dct.cpp    /source/common    line 899    C/C++ Problem
#20 identifier "__builtin_clz" is undefined    entropy.cpp    /source/encoder    line 1144    C/C++ Problem
#20 identifier "__builtin_clz" is undefined    entropy.cpp    /source/encoder    line 1735    C/C++ Problem
#20 identifier "__builtin_clz" is undefined    entropy.cpp    /source/encoder    line 2097    C/C++ Problem
#20 identifier "__builtin_clz" is undefined    quant.cpp    /source/common    line 83    C/C++ Problem
#20 identifier "__builtin_clz" is undefined    quant.cpp    /source/common    line 172    C/C++ Problem
#20 identifier "__builtin_clz" is undefined    quant.cpp    /source/common    line 299    C/C++ Problem
#20 identifier "__builtin_ctz" is undefined    entropy.cpp    /source/encoder    line 1736    C/C++ Problem
#20 identifier "__builtin_ctz" is undefined    quant.cpp    /source/common    line 302    C/C++ Problem
#20 identifier "__builtin_ctz" is undefined    threadpool.cpp    /source/common    line 183    C/C++ Problem
#20 identifier "__builtin_ctz" is undefined    threadpool.cpp    /source/common    line 195    C/C++ Problem
#20 identifier "__builtin_ctz" is undefined    wavefront.cpp    /source/common    line 93    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    api.cpp    /source/encoder    line 246    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    dpb.cpp    /source/encoder    line 175    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    encoder.cpp    /source/encoder    line 291    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    encoder.cpp    /source/encoder    line 389    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    encoder.cpp    /source/encoder    line 475    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    encoder.cpp    /source/encoder    line 623    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    frameencoder.cpp    /source/encoder    line 682    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    frameencoder.cpp    /source/encoder    line 801    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    frameencoder.cpp    /source/encoder    line 919    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    frameencoder.cpp    /source/encoder    line 1153    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    framefilter.cpp    /source/encoder    line 307    C/C++ Problem
#20 identifier "__sync_add_and_fetch" is undefined    param.cpp    /source/common    line 1227    C/C++ Problem
#20 identifier "__sync_fetch_and_add" is undefined    frameencoder.cpp    /source/encoder    line 918    C/C++ Problem
#20 identifier "__sync_fetch_and_and" is undefined    threadpool.cpp    /source/common    line 139    C/C++ Problem
#20 identifier "__sync_fetch_and_and" is undefined    threadpool.cpp    /source/common    line 169    C/C++ Problem
#20 identifier "__sync_fetch_and_and" is undefined    threadpool.cpp    /source/common    line 186    C/C++ Problem
#20 identifier "__sync_fetch_and_and" is undefined    threadpool.cpp    /source/common    line 198    C/C++ Problem
#20 identifier "__sync_fetch_and_and" is undefined    wavefront.cpp    /source/common    line 80    C/C++ Problem
#20 identifier "__sync_fetch_and_and" is undefined    wavefront.cpp    /source/common    line 96    C/C++ Problem
#20 identifier "__sync_fetch_and_or" is undefined    threadpool.cpp    /source/common    line 104    C/C++ Problem
#20 identifier "__sync_fetch_and_or" is undefined    threadpool.cpp    /source/common    line 171    C/C++ Problem
#20 identifier "__sync_fetch_and_or" is undefined    wavefront.cpp    /source/common    line 63    C/C++ Problem
#20 identifier "__sync_fetch_and_or" is undefined    wavefront.cpp    /source/common    line 69    C/C++ Problem

Chris Meng:

你好,

提示错误是函数没有定义。请问你是否有正确添加相关的头文件?

Congcong Zhang:

回复 Chris Meng:

在CCS6.1.2中找不到所需要的#include <pthread.h>怎么办?

Chris Meng:

回复 Congcong Zhang:

你好,

你是否有尝试在工程的编译选项里面添加该头文件的路径?

huiyun gong:

不知这个问题解决了吗?能否留下联系方式?

Sean Xu:

你好,请问你的问题解决了,我现在遇到同样的问题,可以帮忙解决一下吗?

Sean Xu:

回复 Congcong Zhang:

请问你的问题解决了吗,怎么解决多线程问题?

赞(0)
未经允许不得转载:TI中文支持网 » CCSv6.1.2编译x265_1.8出现错误
分享到: 更多 (0)