I'm having a problem with what should be a very simple exercise. I'm trying to compile the Zephyr sample subsys/cpp/cpp_synchronization after adding #include <string> to the main.cpp. This generates the error: fatal error: string: No such file or directory
My Linux system is set up as described in the nRF Connect manual setup instructions. Builds of cpp_synchronization and other Zephyr examples, as well as my own code, work correctly.
Is there something special that needs to be done to include standard libraries (string, at least) in a Zephyr project?