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

Visual C++ Discussion :

Erreurs au link


Sujet :

Visual C++

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre à l'essai
    Profil pro
    Inscrit en
    Novembre 2008
    Messages
    6
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2008
    Messages : 6
    Par défaut Erreurs au link
    bonjour j'ai les erreurs suivantes


    Édition des liens en cours...
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
     
    msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream > & __cdecl std::operator<< >(class std::basic_ostream > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z) déjà défini(e) dans VC7_Cplex.obj
    concert.lib(iloord.obj) : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ) référencé dans la fonction "public: void * __thiscall IloMemory::alloc(long)" (?alloc@IloMemory@@QAEPAXJ@Z)
    concert.lib(ilodatacolumn.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(ilocollectionoperator.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(ilonumcollexpr.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(iloanycollexpr.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(ilotuplesetop.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(iloforallbase.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(evaluator.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(iloforall.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(ilocollection.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(ilointcollexpr.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    Debug/VC7_Cplex.exe : fatal error LNK1120: 1 externes non résolus
    Avez vous une idée, je pense que c'est une histoire de dll, si oui où pourrais je les modifier ou les rajouter?

    Pense à utiliser la balise code et a mettre un titre en rapport avec le sujet, Merci Farscape

  2. #2
    Expert éminent
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 395
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 41
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 395
    Par défaut
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    Édition des liens en cours...
    msvcprt.lib(MSVCP80.dll) : error LNK2005: "class std::basic_ostream > & __cdecl std::operator<< >(class std::basic_ostream > &,char const *)" (??$?6U?$char_traits@D@std@@@std@@YAAAV?$basic_ostream@DU?$char_traits@D@std@@@0@AAV10@PBD@Z) déjà défini(e) dans VC7_Cplex.obj
    concert.lib(iloord.obj) : error LNK2019: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ) référencé dans la fonction "public: void * __thiscall IloMemory::alloc(long)" (?alloc@IloMemory@@QAEPAXJ@Z)
    concert.lib(ilodatacolumn.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(ilocollectionoperator.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(ilonumcollexpr.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(iloanycollexpr.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(ilotuplesetop.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(iloforallbase.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(evaluator.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(iloforall.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(ilocollection.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    concert.lib(ilointcollexpr.obj) : error LNK2001: symbole externe non résolu "__declspec(dllimport) public: virtual __thiscall std::ostrstream::~ostrstream(void)" (__imp_??1ostrstream@std@@UAE@XZ)
    Debug/VC7_Cplex.exe : fatal error LNK1120: 1 externes non résolus
    1. Qu'est-ce que VC7_CPlex.obj et pourquoi redéfinit-il l'opérateur d'insertion de flux pour const char* ?
    2. Il te manque apparemment une bibliothèque statique d'importation qui indique quelle DLL implémenta la classe ostrstream (je rappelle que ce n'est pas une classe standard, vu que celle du standard s'appelle std::ostringstream).
    SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.

    "Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
    Apparently everyone.
    -- Raymond Chen.
    Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.

  3. #3
    Membre à l'essai
    Profil pro
    Inscrit en
    Novembre 2008
    Messages
    6
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2008
    Messages : 6
    Par défaut
    comment pourrai je l'inclure; je m'y connais pas trop en VC++, je reprends un code

    pouvez vous eventullement m'indiquer un tutoriel

  4. #4
    Membre à l'essai
    Profil pro
    Inscrit en
    Novembre 2008
    Messages
    6
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2008
    Messages : 6
    Par défaut
    j'ai ajouté la dll msvcp80 au répertoire system32 mais même erreur

  5. #5
    Expert éminent
    Avatar de Médinoc
    Homme Profil pro
    Développeur informatique
    Inscrit en
    Septembre 2005
    Messages
    27 395
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 41
    Localisation : France

    Informations professionnelles :
    Activité : Développeur informatique
    Secteur : High Tech - Éditeur de logiciels

    Informations forums :
    Inscription : Septembre 2005
    Messages : 27 395
    Par défaut
    Tu annules ta modif tout de suite, on n'a jamais parlé de msvcp80 ici.
    Cette DLL n'a aucun rapport avec ton problème présent, et cette "solution" est mauvaise même si c'était le cas.
    SVP, pas de questions techniques par MP. Surtout si je ne vous ai jamais parlé avant.

    "Aw, come on, who would be so stupid as to insert a cast to make an error go away without actually fixing the error?"
    Apparently everyone.
    -- Raymond Chen.
    Traduction obligatoire: "Oh, voyons, qui serait assez stupide pour mettre un cast pour faire disparaitre un message d'erreur sans vraiment corriger l'erreur?" - Apparemment, tout le monde. -- Raymond Chen.

  6. #6
    Membre à l'essai
    Profil pro
    Inscrit en
    Novembre 2008
    Messages
    6
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Novembre 2008
    Messages : 6
    Par défaut
    c fait mais je ne vois tjrs pas

Discussions similaires

  1. erreur de link
    Par meli0207 dans le forum MFC
    Réponses: 6
    Dernier message: 04/05/2007, 10h17
  2. template et erreur de link
    Par Willand dans le forum Langage
    Réponses: 12
    Dernier message: 05/12/2006, 21h19
  3. erreur de link(age) g++
    Par corwin dans le forum Autres éditeurs
    Réponses: 1
    Dernier message: 05/05/2004, 11h33
  4. [wxWindows] Erreur de link pour ODBC
    Par ovh dans le forum wxWidgets
    Réponses: 3
    Dernier message: 28/01/2004, 15h38
  5. DirectDrawCreate erreur de link
    Par Ing_Ben dans le forum DirectX
    Réponses: 1
    Dernier message: 01/12/2002, 18h46

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