I have a class with the following code. It is one of the classes in my project that i'm trying to compile into a dll.
static myClass* getInstance();
static myClass* ptr;
When I try to compile it, I get this error lnk 2001: unresolved external symbol "private: static class myClass* myClass::ptr(ptr@myClass@@0PAV1@A)
Can anyone help with this?