[Solved] Eclipse, C++ and the Standard Template Library
Posted: Sat Feb 25, 2017 5:30 am
I am using Eclipse as my build environment (on Linux) and am using the latest ESP-IDF with the 5.2.0 Xtensa GCC. I also want to write apps in C++ using the Standard Template Library (STL). For example, I want to declare variables that may be strings ... for example:
std:string myString;
I am including
#include <string>
First the good news ... all compiles and runs cleanly.
Now the bad news, I can't get my Eclipse (Neon.2) to find the "std::" namespace classes and hence have no entry assist. Has anyone gotten a build environment working that uses the Standard Template Library with Eclipse that uses the Xtensa GCC tool chain that resolves the namespaces?
Neil
std:string myString;
I am including
#include <string>
First the good news ... all compiles and runs cleanly.
Now the bad news, I can't get my Eclipse (Neon.2) to find the "std::" namespace classes and hence have no entry assist. Has anyone gotten a build environment working that uses the Standard Template Library with Eclipse that uses the Xtensa GCC tool chain that resolves the namespaces?
Neil