VLC 1.1.0 Linux Compile error in taglib.cpp

*nix specific usage questions
natanael
Blank Cone
Blank Cone
Posts: 14
Joined: 30 Mar 2010 16:25

VLC 1.1.0 Linux Compile error in taglib.cpp

Postby natanael » 01 Jul 2010 17:26

Hi, I get an error compiling 1.1.0 sources in Ubuntu:
taglib.cpp: In function 'void ReadMetaFromMP4(TagLib::MP4::Tag*, demux_t*, demux_meta_t*, vlc_meta_t*)':
taglib.cpp:329: error: 'CoverArtList' is not a member of 'TagLib::MP4'
I have installed the libtag-dev packages version 1.6 but no success. I have also downloaded the latest version 1.6.3 but still the same problem ?
Do I need anything else ? I don't want to compile it with --disable-taglib option.

Thanks and regards

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.1.0 Linux Compile error in taglib.cpp

Postby Jean-Baptiste Kempf » 01 Jul 2010 17:33

git or tarball?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

natanael
Blank Cone
Blank Cone
Posts: 14
Joined: 30 Mar 2010 16:25

Re: VLC 1.1.0 Linux Compile error in taglib.cpp

Postby natanael » 01 Jul 2010 18:29

tarball for VLC and taglib 1.6.3
There is SVN for taglib, not git repo.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.1.0 Linux Compile error in taglib.cpp

Postby Jean-Baptiste Kempf » 01 Jul 2010 18:41

comment the code around this part in taglib.cpp
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

natanael
Blank Cone
Blank Cone
Posts: 14
Joined: 30 Mar 2010 16:25

Re: VLC 1.1.0 Linux Compile error in taglib.cpp

Postby natanael » 01 Jul 2010 19:05

Yes I have commented out the code in ReadMetaFromMP4() and now compiles.

Regards

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.1.0 Linux Compile error in taglib.cpp

Postby Jean-Baptiste Kempf » 01 Jul 2010 19:16

weird, it is like your taglib advertises its MP4 support, but doesn't have it in fact.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

natanael
Blank Cone
Blank Cone
Posts: 14
Joined: 30 Mar 2010 16:25

Re: VLC 1.1.0 Linux Compile error in taglib.cpp

Postby natanael » 02 Jul 2010 12:43

Yes very strange.

I have at /usr/local/include/taglib/
mp4coverart.h that creates CoverArtList as a List (typedef List<CoverArt> CoverArtList;)
mp4item.h includes mp4coverart.h
mp4tag.h includes mp4item.h
mp4file.h includes mp4tag.h
and finally mp4file.h is included in vlc-1.1.0/modules/meta_engine/taglib.cpp when TAGLIB_WITH_MP4 is defined.

So why ?

taglib.cpp:329: error: 'CoverArtList' is not a member of 'TagLib::MP4'
taglib.cpp:329: error: expected ';' before 'list'
taglib.cpp:330: error: missing template arguments before '[' token
taglib.cpp:330: error: 'TagLib::MP4::CoverArt' has not been declared

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.1.0 Linux Compile error in taglib.cpp

Postby Jean-Baptiste Kempf » 03 Jul 2010 01:53

No clue.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Rashkae
New Cone
New Cone
Posts: 4
Joined: 08 Feb 2010 20:21

Re: VLC 1.1.0 Linux Compile error in taglib.cpp

Postby Rashkae » 13 Jul 2010 23:41

I am having the same problem compiling vlc 1.1 on Ubuntu Karmic. taglib is v. 1.6.2 (ubuntu package)

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: VLC 1.1.0 Linux Compile error in taglib.cpp

Postby Jean-Baptiste Kempf » 16 Jul 2010 15:01

Update to VLC 1.1.1 git version.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 26 guests