First of all, I know that this question already exists several times in Stackoverflow, but the answers for all of them did not help to solve my problem (see the section “Solutions for others” at the end of this question).
I am using the Eclipse IDE (Juno) with the CDT plugin and Cygwin installed on the 64-bit Windows-7 platform.
I successfully compiled and launched the Hello World 'C' program, but the Hello World "C ++" program launches Launch. Binary error not found . I also have a recipe for target project.exe error in my auto generated make file.
Error line in makefile: @echo 'Building target: $@'
Additionally:
In c / C ++ build -> toolchain editor ->
Current Toolchain: Cygwin GCC
Current Builder: Gnu Make Builder
Tools used:
- GCC Assembler,
- GCC archiver,
- Cygwin C ++ Compiler,
- Compiler Cygwin C,
- Cygwin C Linker,
- Ruler Cygwin C ++.
When I change Current Builder from "Gnu Make Builder" to "CDT Internal Builder", the target project.exe error recipe failed , but Launch failed. Binary not found error still exists.
And also I don't have MinGW.
Solutions worked for others:
Before starting a project directly using the start command, first create a project and run it.
I create a project every time before starting it.
Eclipse .exe, exe Windows Explorer, -arch i386 .
, exe .
Project- > Properties- > C/++ Build- > Settings- > Binary Parsers
"Cygwin PE Parser" / "PE Window Parser" .
,
:
- cygwin install dir
- , cygwin GNU C GNU ++ Paths-and-Symbols → include
- ,
- eclipse
- , g++, g++
..
? MinGW ( MinGW installer.exe, , ) .
. , , .
.