Compile C ++ in Eclipse?

How can I compile C ++ .cpp files in the Eclipse IDE. I have a CDT installed, but when I try to execute it, I get "Launch Failed. Binary not found". I do not want to install CYGWIN if it is absolutely necessary.

+3
source share
3 answers

CDT provides you with options in Eclipse for editing and understanding C files. In my opinion, it does not include a compiler (unlike JDT).

You need to install and configure a C compiler that can use CDT.

Linux, , , gcc, . , C Windows, MinGW, Cygwin, gcc.

MinGW, ( "" " GNU Windows" ), Cygwin

+3

" . " , , , , IDE. - (). . ( ) → → ++, .

, . C/++ Build. , - , , , .

CSE 12 @UCSD, MinGW, Eclipse ( Windows).

0

Matthew said that he worked for me, but you can also check run-> run configurations, there I changed the name of the project to the project I'm working on, I also had to choose the correct directory in which these files were saved.

0
source

Source: https://habr.com/ru/post/1722897/


All Articles