dimanche 26 mai 2013

Eclipse for C/C++

Vous cherchez à bien démarrer, rapidement à développer en Langage C et C++ sur la plateforme de développement Eclipse. Nous allons voir ce qu'il faut faire.

https://www.eclipse.org/
Eclipse Foundation

Eclipse Download

http://www.eclipse.org/downloads/
Eclipse for C/C++ Windows 32bits 131 Mo

By a book :
http://pothi.com/pothi/book/ebook-meera-ghumalia-cc-software-development-eclipse

Eclipse Juno Documentation
http://help.eclipse.org/juno/index.jsp

Once you installe Double clic on :
\\eclipse-cpp-juno-SR2-win32\eclipse\eclipse.exe

Message de l'exécutable :
A Java Runtime Environment (JRE) or a Java Development Kit (JDK) must be available in order to run Eclipse

Eclipse Installation JRE

Depending on what you want to do with Eclipse. If you intend to use Eclipse for Java development, then you should install a JDK

I will work with Windows, so I install JRE.

http://wiki.eclipse.org/Eclipse/Installation#Install_a_JVM

Vérification de la machine Java Installée

http://java.com/fr/download/installed.jsp

(Version 7 Update 21).

Lancer l'exécution de eclipse.exe

choix du workspace : C:\Documents and Settings\Administrateur\workspace

Create New Project

Création d'un projet GCC Cross Compilation :

C:\Documents and Settings\Administrateur\workspace\Hello World C++ Project Cross GCC

Oups !

Description Resource Path Location Type
Symbol 'cout' could not be resolved Hello World C++ Project Cross GCC.cpp /Hello World C++ Project Cross GCC/src line 13 Semantic Error
Program "g++" not found in PATH Hello World C++ Project Cross GCC [Discovery Options] page in project properties C/C++ Problem
Symbol 'endl' could not be resolved Hello World C++ Project Cross GCC.cpp /Hello World C++ Project Cross GCC/src line 13 Semantic Error
Program "make" not found in PATH Hello World C++ Project Cross GCC C/C++ Problem
Symbol 'std' could not be resolved Hello World C++ Project Cross GCC.cpp /Hello World C++ Project Cross GCC/src line 10 Semantic Error
Program "gcc" not found in PATH Hello World C++ Project Cross GCC [Discovery Options] page in project properties C/C++ Problem

Création d'un projet Microsoft Visual C++ :

C:\Documents and Settings\Administrateur\workspace\Hello World Microsoft Visual C++

Oups !

Description Resource Path Location Type
LNK1104: cannot open file 'kernel32.lib' Hello World Microsoft Visual C++ line 0 C/C++ Problem


Oulala ça pique un peu Eclipse ...
 

Aucun commentaire:

Enregistrer un commentaire