一检查发现,是因为g++编译器用不了,连简单的#include <iostream>的hello world都不行。提示找不到stddef.h文件。
重新运行cygwin安装程序,把gcc和g++都升级成5.4.0版本,g++就能用了。
checking for g++... g++checking whether we are using the GNU C++ compiler... yeschecking whether g++ accepts -g... yeschecking dependency style of g++... gcc3checking how to run the C++ preprocessor... g++ -E