Conflict x86 x64

Questions regarding the use of the C++ SDK for Server or Client development or integration into customer products ...

Moderator: uasdkcpp

Post Reply
scarre33
Jr. Member
Jr. Member
Posts: 2
Joined: 25 Nov 2021, 10:15

Conflict x86 x64

Post 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

Post Reply