Conflict x86 x64

Unified Architecture topics related to OPC UA Specification, compliant behavior and any technical issues of OPC UA, like Security, Information Model, Companion Specs DI, PLCopen, ADI, ...

Moderator: Support Team

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

User avatar
Support Team
Hero Member
Hero Member
Posts: 2723
Joined: 18 Mar 2011, 15:09

Re: Conflict x86 x64

Post by Support Team »

Hi,

you can not mix 32bit application with 64bit DLLs.

Make sure you have everything in 64bit, or alternatively have everything in 32bit (32bit application will run on 64bit operating system in WOW64).
Best regards
Unified Automation Support Team

Post Reply