编译时出现如下错误,我的系统是W2KPRO+SP4 , VC+SP5的,以前编译是没有问题的,突然出现这个问题,怎么都解决不了,VC都重新装了,各位以前碰到过是怎么解决的?
fatal error C1189: #error : You need a Windows 2000 or later to run this stub because it uses these features:
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
系统找不到指定的文件。
Error executing c:\winnt\system32\cmd.exe.
fatal error C1189: #error : You need a Windows 2000 or later to run this stub because it uses these features:
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
系统找不到指定的文件。
Error executing c:\winnt\system32\cmd.exe.
如把
int a=0;
写成了
int a=0;
to #define _WIN32_WINNT 0x0500 //for WinNT 4.0 or Win95 with DCOM
, modena(非云)是找的MSDN吧?我是这么解决的,把PROJECTSETTING中的Post
build step选项页下的命令都删除就可以了。