Configure Eclipse for other programming languages

I installed Eclipse (Helios) for the Java programming language, but I also want to use it for programming in C / C ++, Python, and Ruby. I installed CDT and DLTK (for Python and Ruby).

I already have mingw-w64 (Windows platform) installed. How to configure Eclipse to use MinGW as a toolchain? It seems to detect MinGW as a toolchain, but when I create the project, two warnings already appear, saying "Error starting an external scanner information generator." I guess this is because it cannot find the compiler program. In addition, it does not detect any of the standard library header files. Could these problems be because I use mingw-w64 and not the standard MinGW?

Ruby works for me, but as for Python, it cannot find the interpreter and system library by default. I already have Python 2.7 installed. I do not know how to tell Eclipse where to look for files.

Note. I am on Windows 7 Professional 64-bit. I have heard that people on 64-bit versions of Vista have difficulty working with mingw-w64. Maybe I have the same problem. Ignoring Eclipse, when I try to compile a C file using gcc, it has problems finding libraries and including them.

Change If I set the path to / bin / and / libexec / through environment variables, I don’t get the initial errors when creating the project, but what I want to know, how can I set the paths through Eclipse? Also, even if I set the paths, the linker still cannot find the libraries and includes. I went to Project> Properties> C / C ++ Build> Settings and tried to install the libraries and enabled this path, but it still could not find them (at least in the libraries)! Moreover, I really should have done this for every project? This option is not available in the window> Settings>.

+6
eclipse eclipse-cdt eclipse-plugin dltk
source share
2 answers

As for the python part, I recommend using pydev: http://pydev.org/ This is the best eclipse plugin for python. From code completion, syntax highlighting, virtualenv support (http://pydev.blogspot.com/2010/04/pydev-and-virtualenv.html), etc ...

If you are doing web development, from javascript, php, html, python, ruby ​​... you can also take a look at aptana.

http://www.aptana.com/ This is an eclipse-based environment with many useful properties created from the box, such as git and subversion, pydev plugins, etc. Aptana (or was, I switched the IDE), installed as a plugin in a regular eclipse)

Martin K.'s link looks good for a partial piece.

+2
source share

Not sure if you saw this article http://phoenix.goucher.edu/~kelliher/eclipseCDT/ for MinGW integration. Hope this helps.

0
source share

All Articles