so I am an ex-JS user trying to start fresh in C/C++, which meant I had to install a new IDE (eclipse) and start using the compiler that came with the OS. However, when I opened eclipse it asked me to put in the 'cross compiler prefix' and 'cross compiler path' for my new project. I am very confused and other questions on stack overflow did not mention anything about Linux or 9 year old 32 bit machines which is what I'm using. Anyone got any ideas on what to plug into those fields? Much appreciated.
Related
I've read a number of solutions to this question and they all involve going to C/C++ Build >> Settings and changing something, but in my Eclipse all I have under there is tabs for "binary parsers" and "error parsers", no "Miscellaneous" or "dialectic" or whatever. How do I get around this?
In this case, the issue is not related to the Eclipse version, but the project type. The instructions you've been looking at are for choosing C++11 for a managed build project.
You probably have a makefile project; see this question for enabling C++11 mode in a makefile project.
(That said, I would still recommend upgrading to a newer version of Eclipse for other reasons, such as much improved C++ parsing support.)
I develop software on Eclipse Mars IDE, under MS Windows 10 OS, based on Java v7. And now I've got some configuration problems related to the IDE. What I want, is that to run into JDK source code from the IDE once I click on the 'step into' (or in other way). I've included the 'src.zip' on the path in the way provided by the IDE. Yet, when I attempt to run into the source code, the IDE says the 'source code not found'.
I want this feature in order to be able to debug some things related to my current app.
Regards
You need to set this through the Java->Installed JRE's found in Eclipse -> Window ->Preferences. See screen shot below.
my question may be silly but I am in a weird situation right now. I am currently using the latest edition of Eclipse IDE configured for android development ,downloaded from the android developers site. I am trying to install other languages to it like C++ and no matter what I do I get the binary not found when I try to compile a C++ programm. I installed different editions of compilers and I get the same problem .So here is my question:
Do I have to download a different edition of Eclipse to install the other languages or am I doing anything wrong?
Take a look at this tutorial on how to ready eclipse for C++, perhaps it will help you locate your problem
C++ for Eclipse
I have installed Eclipse (Helios) for the Java programming language, but I also want to use it for programming in C/C++, Python and Ruby. I've installed CDT and DLTK (for Python and Ruby).
I already had mingw-w64 (Windows platform) installed. How do I set up Eclipse so that it uses MinGW as the toolchain? It apparently detects MinGW as a toolchain, but when I create a project, two warnings already appear saying "error launching external scanner info generator". I'm assuming this is because it can't find the compiler program. Also, it doesn't detect any of the standard-library header files. Could these problems be because I'm using mingw-w64 rather than the standard MinGW?
I have Ruby working, but as for Python, it cannot find the interpreter nor the default system library. I have Python 2.7 already installed. I don't know how to tell Eclipse where to look for the files.
Note: I am on Windows 7 Professional 64-bit. I've heard of people on 64-bit versions of Vista having trouble getting mingw-w64 to work. I may be having the same problem. Ignoring Eclipse, when I try to compile a C file using gcc, it has trouble finding the libraries and includes.
Edit: If I set the path to /bin/ and /libexec/ via environmental variables, I don't get the initial errors when creating a project, but, what I want to know is, how could I set the paths via Eclipse? Also, even if I set the paths, the linker still can't find the libraries and includes. I went to Project > Properties > C/C++ Build > Settings and tried to set the libraries and includes that way, but it still couldn't find them (the libraries, at least)! Moreover, would I really have to do this for every project? This option isn't available in Window > Preferences.
As for the python part, I recommend using pydev: http://pydev.org/
It's the best eclipse plugin for python. From code completion, syntax highlighting, virtualenv support (http://pydev.blogspot.com/2010/04/pydev-and-virtualenv.html) and so on...
If you are into web development,
from javascript, php, html, python, ruby... you also might want to take a look at aptana.
http://www.aptana.com/
It's a eclipse based IDE with lots of goodies working out of thebox, like git and subversion plugins, pydev etc... aptana is (or was, I switched IDE) installable as a plugin in a regular eclipse)
Martin K. link looks good for mingw part.
I've installed Eclipse on a Windows machine some time ago. A couple of days back I was doing some Java coding and I noticed I don't have a JDK, but still Eclipse could compile & run the Java classes. Does it have a compiler included?
Yes Eclipse contains it's own incremental compiler.
An incremental Java compiler.
Implemented as an Eclipse builder, it
is based on technology evolved from
VisualAge for Java compiler. In
particular, it allows to run and debug
code which still contains unresolved
errors.
For some history take a look here:
http://onjava.com/pub/a/onjava/2006/06/28/whats-new-in-eclipse-3-2-java-development-tools.html
Yes. And here's some more characters.