Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

Compiler/OMAP-L138: Ti ARM CGT v18.12.2.LTS & Ti C6000 CGT v8.3.3.LTS compiler error when or included.

$
0
0

Part Number:OMAP-L138

Tool/software: TI C/C++ Compiler

I have been using Ti ARM CGT 18.1.5.LTS for my project which includes (#include <vector> and #include <functional>) for some time with this compiler but now I have switched to

the latest CCSTUDIO and using Ti CGT 18.12.2.LTS I get the following compiler errors (it's the same with Ti CGT 18.12.1.LTS ).

Comand line params:

-mv5e --code_state=32 -me --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-arm_18.12.2.LTS/include" --define=DEVELOPMENT --define=omapl138 -g --c11 --c++14 --diag_warning=225 --diag_wrap=off --multithread --gen_cross_reference_listing --gen_preprocessor_listing --section_sizes=on

Errors:

no instance of overloaded function "std::__2::__c11_atomic_exchange" matches the argument list .ccsproject /MyArmProj line 1730, external location: C:\ti\ccs901\ccs\tools\compiler\ti-cgt-arm_18.12.2.LTS\include\libcxx\atomic C/C++ Problem

no instance of overloaded function "std::__2::__c11_atomic_exchange" matches the argument list .ccsproject /MyArmProj line 1733, external location: C:\ti\ccs901\ccs\tools\compiler\ti-cgt-arm_18.12.2.LTS\include\libcxx\atomic C/C++ Problem
no instance of overloaded function "std::__2::__c11_atomic_store" matches the argument list .ccsproject /MyArmProj line 1736, external location: C:\ti\ccs901\ccs\tools\compiler\ti-cgt-arm_18.12.2.LTS\include\libcxx\atomic C/C++ Problem
no instance of overloaded function "std::__2::__c11_atomic_store" matches the argument list .ccsproject /MyArmProj line 1739, external location: C:\ti\ccs901\ccs\tools\compiler\ti-cgt-arm_18.12.2.LTS\include\libcxx\atomic C/C++ Problem

I have also been compiling the same code for the DSP using Ti C6000 CGT 8.2.6.LTS successfully for some time, but now I have included (#include <vector> and #include <functional>) I have

needed to move to the Ti C6000 CGT 8.3.3.LTS this however is failing with the following errors.

Comand line params:

-mv6740 --include_path="C:/ti/ccs901/ccs/tools/compiler/ti-cgt-c6000_8.3.3/include" --define=omapl138 -g --c99 --diag_warning=225 --diag_wrap=off --multithread

Errors:

a template argument list is not allowed in a declaration of a primary template .ccsproject /MyDspProj line 5166, external location: C:\ti\ccs901\ccs\tools\compiler\ti-cgt-c6000_8.3.3\include\libcxx\memory C/C++ Problem
a template argument list is not allowed in a declaration of a primary template .ccsproject /MyDspProj line 5182, external location: C:\ti\ccs901\ccs\tools\compiler\ti-cgt-c6000_8.3.3\include\libcxx\memory C/C++ Problem
expected a ";" .ccsproject /MyDspProj line 5150, external location: C:\ti\ccs901\ccs\tools\compiler\ti-cgt-c6000_8.3.3\include\libcxx\memory C/C++ Problem
expected an identifier .ccsproject /MyDspProj line 3487, external location: C:\ti\ccs901\ccs\tools\compiler\ti-cgt-c6000_8.3.3\include\libcxx\memory C/C++ Problem
expected an identifier .ccsproject /MyDspProj line 4955, external location: C:\ti\ccs901\ccs\tools\compiler\ti-cgt-c6000_8.3.3\include\libcxx\memory C/C++ Problem
expected an identifier .ccsproject /MyDspProj line 5150, external location: C:\ti\ccs901\ccs\tools\compiler\ti-cgt-c6000_8.3.3\include\libcxx\memory C/C++ Problem
gmake: *** [MyDspProj.obj] Error 1 MyDspProj C/C++ Problem
gmake: Target 'all' not remade because of errors. MyDspProj C/C++ Problem

Is this a problem or am I missing something?

Thanks in advance,

Andy.


Viewing all articles
Browse latest Browse all 262198

Trending Articles