Posted by Natalie on August 12, 2001 at 21:46:19:
In Reply to: timeSense.h/cpp posted by Grey on August 12, 2001 at 17:33:13:
When you compile, be sure to include timeSense.cpp in
the compilation. I got the same errors for awhile, and
realized that was the problem.
Natalie
: when I do a simple test using timesense, like
: timeSense a;
: timeSense b(500);
: i get linking errors!
: this is my test code:
: #include : using namespace std; : void main() : these are the linkign errors: : Linking... : timesensetest.exe - 3 error(s), 0 warning(s) : how are we supposed to do the project?!?
: #include"timeSense.h"
: {
: timeSense b(500);
: }
: timesensetest.obj : error LNK2001: unresolved external symbol "public: __thiscall timeSense::~timeSense(void)" (??1timeSense@@QAE@XZ)
: timesensetest.obj : error LNK2001: unresolved external symbol "public: __thiscall timeSense::timeSense(unsigned short)" (??0timeSense@@QAE@G@Z)
: Debug/timesensetest.exe : fatal error LNK1120: 2 unresolved externals
: Error executing link.exe.