We want to use CyAPI.lib and CyAPI.h in our project .
It could be compiled successfully in platforms Win32 (Release mode) but has error in platforms x64(release mode)
Error message as below :
Severity Code Description Project File Line Suppression State
Error LNK1112 module machine type 'X86' conflicts with target machine type 'x64' ddi_fx2lp.obj 1
We make sure that we use right CyAPI.lib(x64) from "EZ-USB FX3 SDK"
Could anyone provide any suggestion? Thank you .
Solved! Go to Solution.
Go to Project -> Properties -> VC++ Directories
Make sure that the Platform is x64 and the executable directories, library directories and reference directories under VC++ directories all are pointing to target X64.
Thank you for your suggestion .
We check the setting is correct .
The c++ project could compile platforms x64(release mode) well before we include CyAPI.lib and CyAPI.h .
Thank you for your suggestion.
It's helpful and fixed our issue .
Thank you .