TKIGES.lib(TKIGES.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'

Hi All,
I am trying to build OCC. My system configuration is:
visual studio 2010 professional edition
windows 7(64bit)
OCC 6.9.0(32bit)
After installed,configured environment,builded solution with win32, everything was successed.But, when i builded the sample with MFC, it had 2 errors as follows:
1>TKIGES.lib(TKIGES.dll) : fatal error LNK1112: module machine type 'x64' conflicts with target machine type 'X86'
2>LINK : fatal error LNK1104: cannot open file 'mfcsample.lib'
i google about those errors, but i didn't find good anwers.
Could you help me solve this questions that made me mad.

Thanks in advance.

Forum supervisor's picture

Dear zzj,
If you built OCCT6.9.0 for win32 bit mode, use the same configuration for MFC sample too (i.e. change project platform to win32).
Best regards
FSR