Issue with gtest in Cube IDE
I am trying to use google test on a project in the cube IDE. I am using a sample "hello world" project. I have referenced various tutorials and instructions and here are my settings. My google test library is downloaded via msys2 and I am running a PC build with the latest installed cubeIDE, msys2 etc.
C++ and C compilers.

C++ linker:

However, I am getting the following errors:

It seems to me that the C++ standard is the cause. But I have change the compiler to use various C++ standards and I still get this error.
Would appreciate if I can get some help on this. I will provide additional detail if needed. Thank you.

