S
S
Spacedandy2015-09-02 17:09:16
Eclipse
Spacedandy, 2015-09-02 17:09:16

Unable to run code in Eclipse. What to do?

Can you please tell
me what should I do to start running the code in Eclipse?
Eclipsu at the first start by pressing the "RUN" button gives such an error (see screenshot 2) and 7 errors that are not clear to me, because just started learning C++ and trying to set up a programming environment.
Before starting, my steps were as follows: File -> New -> C ++ Project -> Next everywhere (except for the Cross GCC Command window stage - I didn’t choose anything there) -> Finish
After Finish, the following window popped up (screen 1):
0e4a12d3fff64ed1bef072ce6bfb77e9.jpg
After pressing the button RUN (screen 2):
b02b4e3961fa4e0a842f31af365f8e27.jpg
Tell me what are my actions?

  • What and where to download?
  • How to connect this installed to Eclipse?
  • What is the sequence of my steps?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
G
GavriKos, 2015-09-02
@GavriKos

Well, as Aleksey POS_troi said - google your mistakes. In fact - you do not have a compiler for c / c ++ installed. You need to download minGW, which includes this compiler, install it, and set it in environment variables. In general, eclipse is a bit of a weird IDE choice for pluses. Put Visual Studio - and teach yourself the benefits of health.
If the goal is a native android, then you need to install not just Eclipse, but also a ton of SDK and NDK, or nvidia developer pack.

T
TyzhSysAdmin, 2015-09-02
@POS_troi

What is the sequence of my steps?

Goole
MinGW

L
LittleFatNinja, 2015-09-02
@LittleFatNinja

compiler can't start

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question