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

C Discussion :

erreur de link


Sujet :

C

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Profil pro
    Inscrit en
    Octobre 2005
    Messages
    241
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2005
    Messages : 241
    Par défaut erreur de link
    Bonjour,

    j'ai des erreur de link suivante à la construction:

    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
     
    Linking...
    shift_matlab.obj : error LNK2005: __main_info already defined in fft_matlabc.obj
    LINK : warning LNK4049: locally defined symbol "_sprintf" imported
    LINK : warning LNK4049: locally defined symbol "__iob" imported
    LINK : warning LNK4049: locally defined symbol "_free" imported
    LINK : warning LNK4049: locally defined symbol "_malloc" imported
    LINK : warning LNK4049: locally defined symbol "_sscanf" imported
    LINK : warning LNK4049: locally defined symbol "_strncpy" imported
    LINK : warning LNK4049: locally defined symbol "_exit" imported
    LINK : warning LNK4049: locally defined symbol "_fprintf" imported
    LINK : warning LNK4049: locally defined symbol "_strrchr" imported
    LINK : warning LNK4049: locally defined symbol "_longjmp" imported
    complex2.obj : error LNK2001: unresolved external symbol __imp__printf
    encod.obj : error LNK2001: unresolved external symbol __imp__printf
    matrix.obj : error LNK2001: unresolved external symbol __imp__printf
    stn_encoder.obj : error LNK2001: unresolved external symbol __imp__printf
    encod.obj : error LNK2001: unresolved external symbol _syn_sin
    encod.obj : error LNK2001: unresolved external symbol _son
    encod.obj : error LNK2001: unresolved external symbol _syn_frame_prec
    encod.obj : error LNK2001: unresolved external symbol _son_prec
    matrix.obj : error LNK2001: unresolved external symbol __imp__scanf
    STN_encoder.exe : fatal error LNK1120: 6 unresolved externals
    Error executing link.exe.
     
    STN_encoder.exe - 11 error(s), 10 warning(s)
    A quoi est ce du, comment y remédier?

    Merci.

  2. #2
    Expert confirmé
    Avatar de PRomu@ld
    Homme Profil pro
    Ingénieur de Recherche
    Inscrit en
    Avril 2005
    Messages
    4 155
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 39
    Localisation : France, Vienne (Poitou Charente)

    Informations professionnelles :
    Activité : Ingénieur de Recherche
    Secteur : Enseignement

    Informations forums :
    Inscription : Avril 2005
    Messages : 4 155
    Par défaut
    Donne ton système, ce que tu veux compiler, comment c'est fait, bref des trucs qui pourraient nous aider pour identifier exactement le problème.

  3. #3
    Membre confirmé
    Profil pro
    Inscrit en
    Octobre 2005
    Messages
    241
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2005
    Messages : 241
    Par défaut
    En fait tout fonctionait très bien avant que j'installe matlab add-in, qui permet d'inserrer des fichiers matlab au projet. J'ai l'impression que cela a modifié les librairies, j'ai donc eu des conflits entre MSVCRT.lib et une autre, j'ai donc
    ignoré l'une des 2 (MSVCRT) et j'ai maintenant ces problèmes...

  4. #4
    Membre confirmé
    Profil pro
    Inscrit en
    Octobre 2005
    Messages
    241
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Octobre 2005
    Messages : 241
    Par défaut
    Voici la soluce:

    http://www.cryer.co.uk/brian/mswinswdev/msdev_lnk2001uesetx.htm

+ Répondre à la discussion
Cette discussion est résolue.

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