Languages

Menu
Sites
Language
Can't find include file <string>

Upgraded to Tizen Studio v4, and toolkit 6.0. Created a new c/c++ project from templates (a dynamic lib).

In the basic include file (mylib.h), I try to insert "#include <string>" and "#include <exception>". This had worked before on another project, with an earlier version of the studio. But now the editor, as well as the compiler can't find those includes. The source files are named *.hpp and *.cpp, and the c++ compiler runs, but with errors. For example, I tried the following:

#include <string>

class MyStrClass : std::string {
    ...
}

but I get the compiler error: expected class name (I don't get this error if I leave out the "std::string"

What am I missing? Please help!

 

TIA

ken