Search code examples
c++eclipsemakefilecygwin

Compile Cygwin project in Eclipse


I have a c++ Project that was compiled with the cygwin toolchain, now I want to use Eclipse to compile and test it. If I create a project (cygwin toolchain is set in the options) I get the error:

make: *** No rule to make target `all'. 7wWin       line 0  C/C++ Problem

In Cygwin I use:

cd $BUILDDIR
make
make install

Can Eclipse create it's own makefile? And how to setup that. Better would be a good tutorial how to compile a Cygwin c++ project with Eclipse.


Solution

  • Check the following pages: