'identifier' : class 'type' needs to have dll-interface to be used by clients of class 'type2'
A base class or structure must be declared with the __declspec(dllexport) keyword for a function in a derived class to be exported.