I\'m writing C++ code on a mac. Why do I get this error when compiling?:
Undefined symbols for architecture i386: \"Log::theString\", referenced f
You declared static string theString;, but haven't defined it.
static string theString;
Include
string Log::theString;
to your cpp file
cpp