Help with id3lib

Hi all,

I'm working on windows with Visual Studio.
I'm trying to work with id3lib in order to read and write id3 tag (songs tag).
I have two problems, first of all i don't really know to implement a new library in visual studio.
I've tried a lot and finally i think i succeed in it, but when i'm trying to run a simple code with the library, something like this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <id3/tag.h>
#include <id3/readers.h>
#include <id3/writers.h>
#include <iostream>
using namespace std;


int main() { 


ID3_Tag myTag;
myTag.Link("test.mp3");

return 0;
}


I got these errors:
1
2
3
4
5
6
Error    10    error LNK2019: unresolved external symbol "public: unsigned int __thiscall ID3_Tag::Link(char const *,unsigned short)" (?Link@ID3_Tag@@QAEIPBDG@Z) referenced in function _main
Error    11    error LNK2019: unresolved external symbol "public: __thiscall ID3_Tag::ID3_Tag(char const *)" (??0ID3_Tag@@QAE@PBD@Z) referenced in function _main    


Error    12    error LNK1120: 3 unresolved externals


Can someone please help with to figure out what is the problem here? is something wrong with the code or its an installation problem?

p.s. for more information about the id3lib - id3lib Library Documentation

Thanks,
Gal
Topic archived. No new replies allowed.