undefined reference to `TagLib::FileRef::FileRef error

Lukáš Lalinský lalinsky at gmail.com
Tue Feb 8 07:31:33 CET 2011


On Tue, Feb 8, 2011 at 5:55 AM, Patrick <humer4489 at gmail.com> wrote:
> my gcc command is as such:
>
> g++  -I/home/pat/Desktop/taglib2/include/taglib -L/home/pat/Desktop/taglib2/lib  /home/pat/Desktop/taglib2/bin/id3.cpp -o /home/pat/Desktop/taglib2/bin/id3
> ----------------------------

You are including the path to the compiled TagLib library, but not
actually link to it. You need to add "-ltag" to the command line.

Lukas


More information about the taglib-devel mailing list