![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Aug 2005
Posts: 12
Rep Power: 0
![]() |
Id3 tags of mp3 files, can't get it to work please help
I'm using VC++ 6.0
I'd like to access mp3 tags and change things like song title, artist, etc.. I found this library which does what i need: https://sourceforge.net/projects/id3lib/ I downloaded the library and followed the instructions about using it, but I always get the same error of "id3/tag.h" not found. I'm pretty new to VC, I must be missing something. I'd really appreciate it if you took a look at this library and helped me get it to work in my project, I've been messing with it for almost a week now. What are the exact steps I need to do in VC 6.0 to use this library? One more little thing that i don't understand is how this header I'm trying to use is made. It's not in the ID3LIB files I downloaded, so it is built somehow on the way. maybe someone can enlighten me and tell me how it works. Thanks a lot |
|
|
|
|
|
#2 |
|
I eat cake for breakfast.
![]() ![]() ![]() ![]() Join Date: Jul 2004
Location: In my box.
Posts: 4,434
Rep Power: 9
![]() |
Put the files in the include folder supplied into your Visual Studio include folder. This is, most likely, at Visual Studio Path\include.
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Aug 2005
Posts: 12
Rep Power: 0
![]() |
I can't find such folder.
The library I downloaded has a project in it that uses this library, yet I can't find out what settings differ between this project and mine. The files of this library are scattered all around in its folder, there's some text file with directions which I followed but it didn't help. You could take a look at that library via that link i posted at the beginning, that would clarify things a bit. |
|
|
|
|
|
#4 |
|
Professional Programmer
Join Date: Apr 2005
Location: London, England
Posts: 459
Rep Power: 4
![]() |
Haven't got an answer to your question, but i'd like to strongly recommend the use of TagLib instead of id3lib. TagLib is much faster (6 times faster, according the homepage) and with a much cleaner, object-orientated API.
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: Aug 2005
Posts: 12
Rep Power: 0
![]() |
Thanks a lot, that is much better.
would you mind telling me how do I use it in my Visual C++ 6 project? |
|
|
|
|
|
#6 |
|
Programmer
Join Date: Jun 2005
Posts: 92
Rep Power: 4
![]() |
You have 2 options:
1) Do #include "blah/blah.h" instead of #include <blah/blah.h> 2) Copy the files for the library to your visual studio path\vc98\include folder |
|
|
|
|
|
#7 |
|
Newbie
Join Date: Aug 2005
Posts: 12
Rep Power: 0
![]() |
Thanks a lot guys
|
|
|
|
|
|
#8 |
|
Newbie
Join Date: Aug 2005
Posts: 12
Rep Power: 0
![]() |
wops, I get tons of errors within the library files.
things like "long long is illegal" missing ;s could it be VC's fault? |
|
|
|
|
|
#9 |
|
Programmer
Join Date: Jun 2005
Posts: 92
Rep Power: 4
![]() |
Please post the code that is causing the problems, and then also post the compile log so that we can see exactly what is going on. Although, it sounds to me like you forgot to include the actual library (*.dll) in your project. If you didn't do that, or don't know how, google for it.
|
|
|
|
|
|
#10 |
|
Newbie
Join Date: Aug 2005
Posts: 12
Rep Power: 0
![]() |
i get the errors on a simple: TagLib::ID3v2::Tag t;
I can't find any *.dll files in the project's folder I get 102 error for that, here's some of them: c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(47) : error C2059: syntax error : ''template<'' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(47) : error C2065: 'T' : undeclared identifier c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(47) : error C2955: 'List' : use of class template requires template argument list c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.h(239) : see declaration of 'List' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(61) : error C2954: template definitions cannot nest c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(62) : error C2059: syntax error : ''template<'' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(62) : error C2955: 'List' : use of class template requires template argument list c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.h(239) : see declaration of 'List' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(62) : error C2065: 'TP' : undeclared identifier c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(62) : error C2059: syntax error : '>' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(87) : error C2143: syntax error : missing ';' before '{' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(89) : error C2143: syntax error : missing ';' before '}' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(93) : error C2143: syntax error : missing ';' before '{' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(95) : error C2143: syntax error : missing ';' before '}' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(99) : error C2143: syntax error : missing ';' before '{' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(102) : error C2143: syntax error : missing ';' before '}' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(106) : error C2143: syntax error : missing ';' before '{' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(108) : error C2955: 'list' : use of class template requires template argument list c:\program files\microsoft visual studio\vc98\include\list(415) : see declaration of 'list' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(109) : error C2143: syntax error : missing ';' before '}' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(113) : error C2143: syntax error : missing ';' before '{' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(114) : error C2955: 'list' : use of class template requires template argument list c:\program files\microsoft visual studio\vc98\include\list(415) : see declaration of 'list' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(115) : error C2143: syntax error : missing ';' before '}' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(119) : error C2143: syntax error : missing ';' before '{' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(121) : error C2955: 'list' : use of class template requires template argument list c:\program files\microsoft visual studio\vc98\include\list(415) : see declaration of 'list' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(122) : error C2143: syntax error : missing ';' before '}' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(126) : error C2143: syntax error : missing ';' before '{' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(127) : error C2955: 'list' : use of class template requires template argument list c:\program files\microsoft visual studio\vc98\include\list(415) : see declaration of 'list' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(128) : error C2143: syntax error : missing ';' before '}' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(132) : error C2143: syntax error : missing ';' before '{' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(134) : error C2955: 'list' : use of class template requires template argument list c:\program files\microsoft visual studio\vc98\include\list(415) : see declaration of 'list' c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(134) : error C2065: 'item' : undeclared identifier c:\program files\microsoft visual studio\vc98\include\taglib\toolkit\tlist.tcc(135) : error C2143: syntax error |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|