I am working on a C++ application and I cannot build it because of LNK2001 and LNK2019 errors.
It has 4 projects: Client, Depry, Miscellaneous and Server. I want to have a base exception class in Miscellaneous and to be able to inherit from it in the Client and Server projects.
I tried adding the "include" folder from the Miscellaneous project to the Client's Additional Dependencies and I also added Miscellanous to Client's project dependencies. It did not work.
Example Errors:
Error LNK2019 unresolved external symbol "public: virtual __cdecl DepryException::~DepryException(void)" (??1DepryException@@UEAA@XZ) referenced in function "public: virtual void * __cdecl DepryException::`scalar deleting destructor'(unsigned int)" (??_GDepryException@@UEAAPEAXI@Z) ChatClient E:\SEng\CPlusPlus\Depry\Client\ChatClient.obj 1
Error LNK2001 unresolved external symbol "public: virtual char const * __cdecl DepryException::what(void)const " (?what@DepryException@@UEBAPEBDXZ) ChatClient E:\SEng\CPlusPlus\Depry\Client\ChatClient.obj 1