Help using taglib c bindings
Joao Paulo
jtpaulo at gmail.com
Mon Apr 17 19:33:43 CEST 2006
Hi,
i have a problem using taglib with c bindings api. Currently i have
installed taglib 1.4-2 in fc5.
i tryed to compile the tagreader_c.c example that comes in taglib
instalation folder.
i tryed to compile using
g++ tagreader_c.c `taglib-config --cflags --libs` -o taglib-test
g++ -I/usr/local/include/taglib tagreader_c.c -o taglib-test
gcc -I/usr/local/include/taglib tagreader_c.c -o taglib-test
gcc tagreader_c.c `taglib-config --cflags --libs` -o taglib-test
and appears this error:
/tmp/ccMhvHcP.o: In function `main':tagreader_c.c:(.text+0x1d): undefined
reference to `taglib_set_strings_unicode'
:tagreader_c.c:(.text+0x5d): undefined reference to `taglib_file_new'
:tagreader_c.c:(.text+0x75): undefined reference to `taglib_file_tag'
:tagreader_c.c:(.text+0x83): undefined reference to
`taglib_file_audioproperties'
:tagreader_c.c:(.text+0x9d): undefined reference to `taglib_tag_title'
:tagreader_c.c:(.text+0xb8): undefined reference to `taglib_tag_artist'
:tagreader_c.c:(.text+0xd3): undefined reference to `taglib_tag_album'
:tagreader_c.c:(.text+0xee): undefined reference to `taglib_tag_year'
:tagreader_c.c:(.text+0x109): undefined reference to `taglib_tag_comment'
:tagreader_c.c:(.text+0x124): undefined reference to `taglib_tag_track'
:tagreader_c.c:(.text+0x13f): undefined reference to `taglib_tag_genre'
:tagreader_c.c:(.text+0x15a): undefined reference to
`taglib_audioproperties_length'
:tagreader_c.c:(.text+0x1a3): undefined reference to
`taglib_audioproperties_length'
:tagreader_c.c:(.text+0x1e1): undefined reference to
`taglib_audioproperties_bitrate'
:tagreader_c.c:(.text+0x1fc): undefined reference to
`taglib_audioproperties_samplerate'
:tagreader_c.c:(.text+0x217): undefined reference to
`taglib_audioproperties_channels'
:tagreader_c.c:(.text+0x246): undefined reference to
`taglib_tag_free_strings'
:tagreader_c.c:(.text+0x251): undefined reference to `taglib_file_free'
collect2: ld returned 1 exit status
Hope you can help me
--
Joao Paulo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/taglib-devel/attachments/20060417/f4de33b4/attachment.html
More information about the taglib-devel
mailing list