This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

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