I was doing some experiments with PNGWriter. To verify a sample code, I typed it into the text editor and compiled (Visual C++ ver 6). First it showed several errors saying something.h not found. After doing a bit of googling, I got all the headers which were not being found earlier and it compiled successfully.
Then I tried linking. But it showed 5 errors that I cannot comprehend.
They were
Linking...
Cpp3.obj : error LNK2001: unresolved external symbol "public: __thiscall pngwriter::~pngwriter(void)" (??1pngwriter@@QAE@XZ)
Cpp3.obj : error LNK2001: unresolved external symbol "public: void __thiscall pngwriter::close(void)" (?close@pngwriter@@QAEXXZ)
Cpp3.obj : error LNK2001: unresolved external symbol "public: void __thiscall pngwriter:lot(int,int,double,double,double)" (?plot@pngwriter@@QAEXHHNNN@Z)
Cpp3.obj : error LNK2001: unresolved external symbol "public: __thiscall pngwriter:ngwriter(int,int,int,char *)" (??0pngwriter@@QAE@HHHPAD@Z)
Debug/Cpp3.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.
Cpp3.exe - 5 error(s), 0 warning(s)
What's going on?