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.

CCS/TMS570LC4357: CCS 9.3 Compiling Error

Part Number: TMS570LC4357

Tool/software: Code Composer Studio

Hello everybody,

I use CCS 9.3 IDE and compiler version is TI v18.12.4.LTS. I can build the code below via VS Code or DevCPP IDE;

#include <iostream>
#include <vector>

class Some
{
    public:
    int a;
    Some(int &b);
};

Some::Some(int &b)
{
    b++;
}

template <class T>
void Multi_Some_Read(std::vector<T> &Some){
    Some[2].a = 2;
}

int main()
{
    int num = 5;
    Some SV1(num);
    Some SV2(num);
    Some SV3(num);

    std::vector<Some> Multi_Some;

    Multi_Some.push_back(SV1);
    Multi_Some.push_back(SV2);
    Multi_Some.push_back(SV3);

    Multi_Some_Read(Multi_Some);

    printf("Some[2] : %d\n",Multi_Some[2].a);
    printf("-------------------\n");

    return 0;
}

But when I build via CCS I got some error like this;

std::vector<> lib path is below;

Do you any suggestion for solution?

NOTE: This code is written only to illustrate the problem. The actual main file is as in the website below;

https://www.element14.com/community/groups/embedded/blog/2019/11/09/hercules-safety-microcontroller-use-c-with-halcogen-projects