Como configurar Eclipse para desarrollo en C/C++ en Windows
- Descarga Eclipse para desarrolladores en C/C++ .
- Descarga la distribución especial de MinGW de Nuwen .
- Extrae el archivo ZIP de Eclipse en un directorio sin espacios.
- Ahora extrae el archivo ZIP de MinGW a un directorio sin espacios.
- Ahora debes agregar el directorio bin de MinGW al Path del sistema.
- Ve al Panel de control > Sistema, selecciona el Tab Opciones Avanzadas y has clic en el botón Variables de entorno.
- En la lista Variables del sistema , selecciona la variable Path y has clic en el botón Modificar.
- Ten cuidado al agregar al final de la cadena actual ;C:\MinGW\bin (No te olvides de agregar el punto y coma inicial).
- Ejecuta Eclipse.
Abre la carpeta donde descomprimiste Eclipse y ejecuta el archivo eclipse.exe. - Crea un nuevo proyecto de C++.
En Eclipse, ve al menú File > New > C++ Project. En la lista de Toolchains debes ver ahora MinGW GCC.
Ten cuidado en descargar la versión para Windows.
Esta distribución de MinGW contiene un conjunto adicional de librerias muy útiles, entre las cuales están las librerias Boost para C++.
Por ejemplo:
C:\eclipse\
C:\MinGW\
How To Setup Eclipse for C/C++ development on Windows
- Download Eclipse for C/C++ Developers
- Download Nuwen’s special MinGW distribution
- Extract the Eclipse ZIP file to a directory with no spaces.
- Now extract the MinGW ZIP file to a directory, again: no spaces.
- Now you need to add MinGW’s bin folder to the System’s Path.
- Go to Control Panel > System, select the Advanced tab and then click on the Environment Variables button.
- On the System Variables list, select the Path variable and clic the edit button.
- Be careful to add at the end of the current string ;C:\MinGW\bin (Don’t forget the starting semicolon).
- Run Eclipse.
Open the folder where you extracted Eclipse and run the eclipse.exe file. - Create a new C++ project.
On Eclipse, go to File > New > C++ Project. On the Toolchains list you should see now MinGW GCC on the list.
Be careful to get the Windows version. Some of us, including me, would have appreciated this advice earlier.
This is a great MinGW distribution that adds a lot of useful libraries, including C++ Boost Libraries.
I recommend something like:
C:\eclipse\
C:\MinGW\
Hello world!
Hi, I guess I’ll keep WordPress default entry title because this will be a programing related blog. Please excuse my english level and feel free to point out any mistakes you find on any of my posts. Be back soon.
leave a comment