Problème de compilation
Répondre à la discussion
Affichage des résultats 1 à 2 sur 2

Problème de compilation



  1. #1
    DADYCOKE

    Problème de compilation


    ------

    Bonjour j'essai de compiler un fichier et mon compilateur m'insulte en langage de compilateur

    voici un échantillon de son message :


    user@ubuntu:~/Bureau/proto$ sudo gcc fonction.cpp
    /tmp/ccO7q86Q.o: In function `main':
    fonction.cpp.text+0x11): undefined reference to `std::allocator<char>::allocat or()'
    fonction.cpp.text+0x26): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(char const*, std::allocator<char> const&)'
    fonction.cpp.text+0x32): undefined reference to `std::allocator<char>::~alloca tor()'
    fonction.cpp.text+0x5d): undefined reference to `std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string(std::basic_str ing<char, std::char_traits<char>, std::allocator<char> > const&)'
    fonction.cpp.text+0x69): undefined reference to `lcd_Affich(std::basic_string< char, std::char_traits<char>, std::allocator<char> >)'

    -----
    Dernière modification par DADYCOKE ; 22/02/2013 à 09h06.

  2. #2
    DADYCOKE

    Re : Problème de compilation

    Ah c bon j'ai trouvé :

    au lieu de compiler avec g++ je compilais avec gcc

    Normale qu'il m'insulte

Discussions similaires

  1. problème de compilation
    Par invite339a0de8 dans le forum Programmation et langages, Algorithmique
    Réponses: 3
    Dernier message: 06/04/2012, 12h28
  2. Problème compilation C30
    Par invite52e85ae4 dans le forum Programmation et langages, Algorithmique
    Réponses: 1
    Dernier message: 30/03/2011, 15h42
  3. problème compilation C
    Par inviteb6dc9791 dans le forum Logiciel - Software - Open Source
    Réponses: 1
    Dernier message: 06/04/2010, 22h21
  4. Problème de compilation
    Par invite58110dc5 dans le forum Logiciel - Software - Open Source
    Réponses: 0
    Dernier message: 15/09/2008, 03h07
  5. Problème compilation MPLAB
    Par invite8bf80359 dans le forum Électronique
    Réponses: 0
    Dernier message: 18/06/2008, 20h40