Build problem with iMP3

Bug #383580 reported by Pierre Slamich
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gloobus
Invalid
Undecided
Unassigned
TagLib
New
Undecided
Unassigned
libtagcoll
Invalid
Undecided
Unassigned

Bug Description

When compiling, it spits the following errors. I've tried installing those packages:
http://img503.imageshack.us/img503/6461/screenshot1v.png

In file included from iMp3.h:8,
                 from iMp3.cpp:1:
/usr/include/taglib/attachedpictureframe.h:29:24: error: id3v2frame.h: No such file or directory
/usr/include/taglib/attachedpictureframe.h:30:25: error: id3v2header.h: No such file or directory
In file included from iMp3.h:8,
                 from iMp3.cpp:1:
/usr/include/taglib/attachedpictureframe.h:47: error: expected class-name before ‘{’ token
/usr/include/taglib/attachedpictureframe.h:127: error: ‘Type’ in class ‘TagLib::String’ does not name a type
/usr/include/taglib/attachedpictureframe.h:134: error: ‘TagLib::String::Type’ has not been declared
/usr/include/taglib/attachedpictureframe.h:210: error: ‘Header’ has not been declared
iMp3.cpp: In member function ‘virtual GdkPixbuf* iMp3::get_pixbuf()’:
iMp3.cpp:34: error: invalid static_cast from type ‘TagLib::ID3v2::Frame*’ to type ‘TagLib::ID3v2::AttachedPictureFrame*
make[1]: *** [default] Error 1
make[1]: Leaving directory `/home/pierre/Gloobus-0.4/Gloobus-Preview/iMp3'
make[1]: Entering directory `/home/pierre/Gloobus-0.4/Gloobus-Preview/iMp3'
cp iMp3.so /usr/share/gloobus/plugins-preview/
cp: cannot stat `iMp3.so': No such file or directory
make[1]: *** [install] Error 1

Revision history for this message
BadChoice (guitarboy000) wrote :

change in the file
/usr/include/taglib/attachedpictureframe.h

the lines

#include <id3v2frame.h>
#include <id3v2header.h>

for

#include <taglib/id3v2frame.h>
#include <taglib/id3v2header.h>

and then it will compile

Revision history for this message
BadChoice (guitarboy000) wrote :

This bug affects libtag-dev not gloobus

Changed in gloobus:
status: New → Invalid
Changed in libtagcoll:
status: New → Invalid
Revision history for this message
Pierre Slamich (pierre-slamich) wrote :

Thanks, the fix worked. Adding it to the build guide.
I really hope upstream can fix it asap.

Revision history for this message
BadChoice (guitarboy000) wrote :

Yes, I hope so too...
It's very anoying and a lot of people fails on this..

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.