Page 1 of 1

Conflict x86 x64

Posted: 25 Nov 2021, 11:50
by scarre33
Hello everyone,
I have a compatibility problem between certain library and my code.

I'm doing the tutorial to generate an OPC client. (https://documentation.unified-automation.com/uasdkcpp/1.6.3/html/L3GettingStartedClientLesson01.html).

I install the C ++ win64 SDK, I did steps 1, 2, 3, and I have this problem while compiling:
Error LNK1112 module computer type 'x64' conflicting with target computer type 'x86' for the uabasecppd library.

the only difference is that I am not working on visual studio 2015 but 2017 and therefore that I do not have a win32 console application project but only console application.

Does anyone have an idea to solve this problem?

Thanks for your help