@lilouch Move the definition of
std::string Tools::tostr
into the header file that you mentioned in your question. Most common way to move code from one file to a different file is by Cut&Paste.