forward declaration of struct TagLib::Tag error
kde-dev at emailgoeshere.com
Mon Mar 24 14:20:38 CET 2008
Jeff Mitchell wrote:
> Amr Hassan wrote:
>> i'm trying to use taglib in a qt project from eclipse, everytime i try
>> to compile after adding the header file <fileref.h> i get this error at
>> Severity and Description Path Resource Location Creation
>> Time Id
>> make: *** [release] Error 2 projName line 0
>> 1206157042015 1704
>> make: *** [release/Track.o] Error 1 projName line 0
>> 1206157042015 1703
>> forward declaration of `struct TagLib::Tag'
>> projName/taglib/include tfile.h line 36 1206157042015 1702
>> invalid use of undefined type `struct TagLib::Tag' projName/core
>> Track.cpp line 116 1206157042015 1701
> What platform and compiler and version?
Copying Amr's response for completeness:
mingw on windows, but i already solved it thank you. i didn't know that
i had to include the tag.h header also.. i included both and it worked
fine. should've read the example projects first...
More information about the taglib-devel