Platform: Vista x64
I'm sucessfully running scons to get core.lib, with flag CPPDEFINES = ["DEBUG"]
Then when I build cgkit, I get the following link error:
core.lib(vec3.obj) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
This makes me think that somehow, core.lib was compiled in x64, which is strange because there's only -DWIN32 in the compile command line.
I tried to force the x86 architecture in scons by using:
DEFINES_X86=[ '"x86"', '"_X86_"', '"_i386_"' ]
Then I've got a compile error when running scons:
C:\Program Files\Microsoft SDKs\Windows\v6.0A\include\winnt.h(81) : fatal error C1189: #error : "No Target Architecture"
That is really strange because that message can be displayed only in the case #if defined(_WIN64)
So what happens here, who defines _WIN64 in my back?
Log in to post a comment.