I build a test project for test, the test project and ordinary project are in the same workspace.
when I create a ojbect in the test project for constructor testing.
the project compile ok,but appear some link porblem
"SnookerGameTest.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CGame::~CGame(void)" (??1CGame@@UAE@XZ)
SnookerGameTest.obj : error LNK2001: unresolved external symbol "public: __thiscall CGame::CGame(void)" (??0CGame@@QAE@XZ)
Debug/TestSuite.exe : fatal error LNK1120: 2 unresolved externals"
Anyone could give me some advice to solve this problem
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I build a test project for test, the test project and ordinary project are in the same workspace.
when I create a ojbect in the test project for constructor testing.
the project compile ok,but appear some link porblem
"SnookerGameTest.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall CGame::~CGame(void)" (??1CGame@@UAE@XZ)
SnookerGameTest.obj : error LNK2001: unresolved external symbol "public: __thiscall CGame::CGame(void)" (??0CGame@@QAE@XZ)
Debug/TestSuite.exe : fatal error LNK1120: 2 unresolved externals"
Anyone could give me some advice to solve this problem