我正在使用 Windows 64,我们需要为我们的项目创建一个生成文件。我们有一个现有的 makefile 敌人 Win 32 并且不知道如何从 make 文件设置 64 位环境。
如果有人这样做或有任何 Win 64 的示例生成文件,请与我分享。我们收到以下错误
c:\program files (x86)\microsoft visual studio 9.0\vc\include\codeanalysis\sourceannotations.h(17) : error C2371: 'size_t' : redefinition; d
ifferent basic types
predefined C++ types (compiler internal)(19) : see declaration of 'size_t'
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(81) : fatal error C1189: #error : "No Target Architecture"
make[3]: *** [shared/anonObject.o] Error 2
这主要是在未设置 VS x64 位配置时出现的。