I am working on Windows 64 and we need a makefile for our project. We have an existing makefile foe Win 32 and don’t know how to set the 64 bit environment from make file.
If anyone did it or have any sample makefile of Win 64 then please share with me.
We are getting the following error
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
which is mainly came when in VS x64 bit configuration is not set.
I set the 64 bit environment on command prompt then ran the makefile with /MACHINE:X64 option.