Bonsoir,

Je viens vers vous dans l'espoir que vous pourrez me sauver.
Je suis à deux doigts de me pendre avec un câble usb.

J'ai un projet très important pour les cours a faire et je doit pour le mener a bien pouvoir lire les TAGs (artiste, album,..)d'un fichier son ou vidéo.

Je me suis donc mis en quête de bibliothèques qui font cela.
J'ai trouvé Taglib et Id3lib.

Le problème c'est que je n'arrive pas à installer ces bibliothèques sous windows. Utilisation d'eclipse couplé avec mingw et msys
Je suis un peu perdu dans l'installation de telles biblio car on n'a jamais vu cela en cours et aucun prof ne daigne essayer de m'aider. :colere2:

Je vous avoue donc que je suis un peu perdu avec ces verions binaires, ces "configure", etc..

J'y est passé un temps fou (plusieurs dizaines d'heures de perdues a essayer en vain d'installer ces trucs) et ca commence a vraiment me pourrir la vie sachant que je comprend comment utiliser ces biblio c'est juste que je n'arrive pas les installer pour pouvoir compiler mes algos et que cela me met dans un retard monstre.

Quand je prend id3lib et que je met dans le dossier id3lib un "sh ./configure" ca plante au bout d'un moment et j'ai ce message : "configure: error: Missing a vital function for id3lib"

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
 
C:\Users\Nimajneb\eclipse-cpp-galileo-SR1-win32\eclipse\biblio\id3lib-3.8.3>sh ./configure
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output... a.exe
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... .exe
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... gcc3
checking for library containing strerror... none required
checking build system type... i686-pc-mingw32
checking host system type... i686-pc-mingw32
checking for ld used by GCC... C:/MinGW/mingw32/bin/ld.exe
checking if the linker (C:/MinGW/mingw32/bin/ld.exe) is GNU ld... yes
checking for C:/MinGW/mingw32/bin/ld.exe option to reload object files... -r
checking for BSD-compatible nm... /mingw/bin/nm
checking whether ln -s works... yes
checking how to recognise dependant libraries... file_magic file format pei*-i386(.*architecture: i3
86)?
checking command to parse /mingw/bin/nm output... ok
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... no
checking dlfcn.h presence... no
checking for dlfcn.h... no
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc option to produce PIC... -DDLL_EXPORT
checking if gcc PIC flag -DDLL_EXPORT works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.lo... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking whether the linker (C:/MinGW/mingw32/bin/ld.exe) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... Win32 ld.exe
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
creating libtool
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for a BSD-compatible install... /bin/install -c
checking for uncompress in -lz... no
checking for ANSI C header files... (cached) yes
checking zlib.h usability... no
checking zlib.h presence... no
checking for zlib.h... no
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for unistd.h... (cached) yes
checking iconv.h usability... no
checking iconv.h presence... no
checking for iconv.h... no
checking libcw/sys.h usability... no
checking libcw/sys.h presence... no
checking for libcw/sys.h... no
checking cctype usability... yes
checking cctype presence... yes
checking for cctype... yes
checking climits usability... yes
checking climits presence... yes
checking for climits... yes
checking cstdio usability... yes
checking cstdio presence... yes
checking for cstdio... yes
checking cstdlib usability... yes
checking cstdlib presence... yes
checking for cstdlib... yes
checking bitset usability... yes
checking bitset presence... yes
checking for bitset... yes
checking cstring usability... yes
checking cstring presence... yes
checking for cstring... yes
checking fstream usability... yes
checking fstream presence... yes
checking for fstream... yes
checking iostream usability... yes
checking iostream presence... yes
checking for iostream... yes
checking iomanip usability... yes
checking iomanip presence... yes
checking for iomanip... yes
checking vector usability... yes
checking vector presence... yes
checking for vector... yes
checking string usability... yes
checking string presence... yes
checking for string... yes
checking iomanip.h usability... yes
checking iomanip.h presence... yes
checking for iomanip.h... yes
checking whether C++ has bool... yes
checking whether C++ has correct scoping in for-loops... yes
checking what warning flags to pass to the C++ compiler... -Wall -Wno-unused -Wno-inline -Woverloade
d-virtual -Wmissing-declarations
checking what language compliance flags to pass to the C++ compiler...
checking for getopt_long... yes
checking for mkstemp... no
checking for truncate... no
configure: error: Missing a vital function for id3lib
Pas de makefile de généré donc et impossible de lancer la commande make.

Pour Taglib le "sh ./configure" marche mais c'est la make qui me donne une erreur.
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
finie vers « TagLib::ID3v2::Tag::render() const »
./trueaudio/.libs/libtrueaudio.a(trueaudiofile.o):trueaudiofile.cpp:(.text+0x1086): r├®f├®rence ind├
®finie vers ┬½ TagLib::ID3v1::Tag::render() const ┬╗
./trueaudio/.libs/libtrueaudio.a(trueaudiofile.o):trueaudiofile.cpp:(.text+0x1c14): r├®f├®rence ind├
®finie vers ┬½ TagLib::ID3v2::FrameFactory::instance() ┬╗
./trueaudio/.libs/libtrueaudio.a(trueaudiofile.o):trueaudiofile.cpp:(.text+0x20d4): r├®f├®rence ind├
®finie vers ┬½ TagLib::ID3v2::FrameFactory::instance() ┬╗
collect2: ld returned 1 exit status
make[4]: *** [libtag.la] Error 1
make[4]: Leaving directory `/c/Users/Nimajneb/eclipse-cpp-galileo-SR1-win32/eclipse/biblio/taglib-1.
6.1/taglib'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/c/Users/Nimajneb/eclipse-cpp-galileo-SR1-win32/eclipse/biblio/taglib-1.
6.1/taglib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/c/Users/Nimajneb/eclipse-cpp-galileo-SR1-win32/eclipse/biblio/taglib-1.
6.1/taglib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/Users/Nimajneb/eclipse-cpp-galileo-SR1-win32/eclipse/biblio/taglib-1.
6.1'
make: *** [all] Error 2
Voila si je doit préciser quelque-chose n'hésitez pas à me demander.

Et je remercie infiniment par avance les personnes qui pourrons m'aider.