Help with using id3lib

B

bgold12

Hey, I don't know if this is the right place for this... I'm trying to
use id3lib, an open-source software development library for editing
id3 tags. I just can't seem to get it to work. I'm trying to use g++
to compile the simple demo program they gave as an example, and I'm
getting the following linker errors:

/usr/local/lib/libid3.a(io_decorators.o): In function
`_ZN4dami2io16CompressedReaderC1ER10ID3_Readerj':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.h:
1459: undefined reference to `_uncompress'
/usr/local/lib/libid3.a(io_decorators.o): In function
`_ZN4dami2io16CompressedReaderC2ER10ID3_Readerj':
/usr/lib/gcc/i686-pc-cygwin/3.4.4/include/c++/bits/basic_string.h:
1459: undefined reference to `_uncompress'
/usr/local/lib/libid3.a(io_decorators.o): In function
`_ZN4dami2io16CompressedWriter5flushEv':
/usr/id3lib-3.8.3/src/io_decorators.cpp:271: undefined reference to
`_compress'
collect2: ld returned 1 exit status

Does this mean I'm missing a library? I'm already including -lid3 and -
liconv in the compile line, which eliminated some of the linker
errors, but I don't know what else to do. Any help would be
appreciated.
 
J

Jorgen Grahn

They should have provided a Makefile for the demo program (or they did
and you should have used it). That would have made the dependency
obvious.

And they should also document the dependency, like Victor says.

/Jorgen
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,228
Members
46,818
Latest member
SapanaCarpetStudio

Latest Threads

Top