Help using taglib c bindings

Scott Wheeler wheeler at kde.org
Thu Apr 20 22:23:23 CEST 2006


On Monday 17 April 2006 19:33, Joao Paulo wrote:
> 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

You also need to add "-ltag_c" to the compilation line.  Of course, if you're 
using C rather than C++ you want to use the "gcc" rather than "g++" compiler.

-Scott
-- 
We should forget about small efficiencies, say about 97% of the time: 
premature optimization is the root of all evil.
-Donald Knuth



More information about the taglib-devel mailing list