J'ai réinstallé Eclipse à partir de ce lien :
http://www.eclipse.org/downloads/dow...-x86_64.tar.gz
J'ai copié le contenu de l'archive dans mon home puis j'ai lancé clipse (donc pas de processus d'installation nécessaire avec cette archive apparemment).
J'ai demandé à créer un "hellow world C++ project".
Il ne reconnait pas tous les mots du C++, c'est bizarre. Voic la capture d'écran :
Note : j'ai installé auparavant g++-4.7. Pour compiler un programme à la console, je fais ceci :
g++-4.7 -std=c++11 tst_threads2.cpp -o tst_threads2 -lpthread
Les versions sont cohérentes :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
| olivier@OBOKERN:~$ g++ --version
g++ (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
olivier@OBOKERN:~$ c++ --version
c++ (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
olivier@OBOKERN:~$ gcc --version
gcc (GCC) 4.7.2
Copyright (C) 2012 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
Partager