IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Bibliothèques Discussion :

problème d'installation de bibliothèque taglib et id3lib


Sujet :

Bibliothèques

  1. #1
    Membre averti
    Profil pro
    Inscrit en
    Juin 2006
    Messages
    51
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2006
    Messages : 51
    Par défaut problème d'installation de bibliothèque taglib et id3lib
    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.

  2. #2
    Responsable Qt & Livres


    Avatar de dourouc05
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Août 2008
    Messages
    26 774
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Août 2008
    Messages : 26 774
    Par défaut
    Salut,

    Désolé pour toi, mais je n'ai actuellement pas trouvé un seul plug-in Madame Irma pour aucun navigateur. Je ne peux donc pas te trouver une solution comme ça, il nous faut des messages d'erreur, savoir quel compilateur tu utilises (MinGW, à voir ce que tu écris), en quelle version...
    Vous souhaitez participer aux rubriques Qt (tutoriels, FAQ, traductions) ou HPC ? Contactez-moi par MP.

    Créer des applications graphiques en Python avec PyQt5
    Créer des applications avec Qt 5.

    Pas de question d'ordre technique par MP !

  3. #3
    Membre averti
    Profil pro
    Inscrit en
    Juin 2006
    Messages
    51
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2006
    Messages : 51
    Par défaut
    J'étais justement entrain de lancer des commandes pour avoir les codes d'erreur et les inclures dans le post.

    J'utilise eclipse (mais je peux changer s'il le faut ^^) avec MinGW et Msys.

    pour les versions j'ai essayé les versions 1.6.1 et 1.5 de taglib,
    3.8.3 et 3.8.2 de id3lib.

    Si tu veu plus d'info dit moi lesquelles.

  4. #4
    Responsable Qt & Livres


    Avatar de dourouc05
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Août 2008
    Messages
    26 774
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Août 2008
    Messages : 26 774
    Par défaut
    Quand tu compiles taglib ou autre, c'est bien dans MSYS ? Si non, je ne vois pas comment...

    Il t'affiche quelques erreurs de compilation, vu que ça échoue. C'est cela qui nous intéresse au plus haut point. (Pas besoin de tout mettre, juste le moment où ça commence à ne plus aller et quelques lignes avant).
    Vous souhaitez participer aux rubriques Qt (tutoriels, FAQ, traductions) ou HPC ? Contactez-moi par MP.

    Créer des applications graphiques en Python avec PyQt5
    Créer des applications avec Qt 5.

    Pas de question d'ordre technique par MP !

  5. #5
    Membre averti
    Profil pro
    Inscrit en
    Juin 2006
    Messages
    51
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Juin 2006
    Messages : 51
    Par défaut
    Merci beaucoup.

    Le problème pour taglib venait en effet du fait que je n'avait absolument pas compris a quoi servait msys.
    En compilant avec le terminal msys ca marche.


    Parcontre comment utiliser cette bibliothèque pour mes projets eclipse ?

  6. #6
    Responsable Qt & Livres


    Avatar de dourouc05
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Août 2008
    Messages
    26 774
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Val de Marne (Île de France)

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Août 2008
    Messages : 26 774
    Par défaut
    Citation Envoyé par Nimajneb Voir le message
    Parcontre comment utiliser cette bibliothèque pour mes projets eclipse ?
    Je ne suis pas du tout un Eclipse-fan, donc je ne pourrai pas te dire précisément les menus, etc.

    Normalement, quand tu as fait ./configure & make all, tu peux encore faire un make install pour installer la lib dans les bons répertoires. Ensuite, il faut demander à Eclipse de lier avec la lib créée lors de la création (le fichier lib*.a).
    Vous souhaitez participer aux rubriques Qt (tutoriels, FAQ, traductions) ou HPC ? Contactez-moi par MP.

    Créer des applications graphiques en Python avec PyQt5
    Créer des applications avec Qt 5.

    Pas de question d'ordre technique par MP !

Discussions similaires

  1. Réponses: 8
    Dernier message: 17/01/2008, 10h42
  2. [GD] Problème d'installation de la bibliothèque GD2
    Par taupinfada dans le forum Bibliothèques et frameworks
    Réponses: 3
    Dernier message: 19/10/2006, 20h38
  3. [SAPdb]Problème d'installation
    Par manou dans le forum SAP
    Réponses: 3
    Dernier message: 17/04/2003, 09h20
  4. Problème d'installation oracle 8.1.7 sous NT
    Par Anonymous dans le forum Installation
    Réponses: 7
    Dernier message: 02/08/2002, 14h18
  5. Réponses: 3
    Dernier message: 26/07/2002, 23h02

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo