id3lib errors
I'm trying to get id3lib working with my program but I can't seem to get it to compile.
This is my code
#include <id3/tag.h>
int main()
{
ID3_Tag myTag;
return 0;
}
and I compile it with g++ id3.cpp and this is what happens
/tmp/cc9Y4w3U.o(.text+0x25): In function `main':
: undefined reference to `ID3_Tag::ID3_Tag[in-charge](char const*)'
/tmp/cc9Y4w3U.o(.text+0x33): In function `main':
: undefined reference to `ID3_Tag::~ID3_Tag [in-charge]()'
collect2: ld returned 1 exit status
What is going on? This is almost exactly cut and paste from thier web site
|