I have installed Eclipse via System Workbench for STM32. Meaning I have an icon now named System Workbench for STM32, and when I open it Eclipse opens.
With that IDE I can successfully create programs for the microicontroller STM32.
However, I want to make unit tests which I can run on a PC, and while after installing google test/mock I get the error:
/usr/bin/sh: g++: command not found
I get the same problem when I make a generic C++ project (either with GNU auto toolchain or using a G++ Cross compiler, or using the default C++ Hello World project).
Also, I do not see an Includes folder.
However, when I check in Help/About Eclipse, I see that Eclipse CDT is installed (version 220.127.116.11704050...)
How can I compile C++ application for PC only? Should I install something more, and from where/how?