解决方案1:
在earth_p.c中加入如下语句
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0400
#endif
解决方案2:
把earth_p.c文件中下面代码打上注释
/*#error You need a Windows NT 4.0 or later to run this stub because it uses these features:
#error -Oif or -Oicf, [wire_marshal] or [user_marshal] attribute, float, double or hyper in -Oif or -Oicf, more than 32 methods in the interface.
#error However, your C/C++ compilation flags indicate you intend to run this app on earlier systems.
#error This app will die there with the RPC_X_WRONG_STUB_VERSION error. */