Reputation: 27
I'm trying to code a program that can edit mp3 tag. And now,I have a problem. That is,when I compile,there is always errors. and the error is Linker error. Here is error descriptions:
error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall ID3_Tag::ID3_Tag(char const *)" (__imp_??0ID3_Tag@@QAE@PBD@Z) referenced in function _wmain
error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __thiscall ID3_Tag::~ID3_Tag(void)" (__imp_??1ID3_Tag@@UAE@XZ) referenced in function _wmain
Does anyone know how or what to do??
Upvotes: 1
Views: 232
Reputation: 258618
You probably didn't link against the appropriate libraries, where the symbols the linker is complaining about are exported.
Here's how to link against the libs which are probably found in this archive (version number subject to change).
Upvotes: 1