c++ - 在 Eclipse 中编译 Cygwin 项目

标签 c++ eclipse makefile cygwin

我有一个用cygwin工具链编译的c++项目,现在我想用Eclipse来编译和测试它。 如果我创建一个项目(在选项中设置了 cygwin 工具链),我会收到错误消息:

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

在 Cygwin 中我使用:

cd $BUILDDIR
make
make install

Eclipse 可以创建自己的 makefile 吗?以及如何设置它。 更好的教程是如何使用 Eclipse 编译 Cygwin c++ 项目。

最佳答案

关于c++ - 在 Eclipse 中编译 Cygwin 项目,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1065623/

相关文章:

c++ - 帮助我理解 std::erase

c++ - 重载 'min(int&, int&)' 的调用不明确

c++ - 为什么这个自定义指针类会崩溃?

compilation - g++: fatal error :无法使用-c,-S或-E来指定多个文件的-o

makefile - "make clean"和 "make clobber"有什么区别?

c++ - 如何将 vector 从存储库返回到服务层

Java SWT : removeAll() in TABLE doesn't delete my buttons on the rows

java - 如何在 Eclipse 中复制项目

java - 我不能将 @NonNullByDefault 与没有空注释约束的继承类混合使用吗?

c - 即使我在我的 makefile 中传递 -c,make 也会自动尝试链接