C++ SDK for Visual Studio 2010

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

Moderator: uasdkcpp

Post Reply
mst
Jr. Member
Jr. Member
Posts: 1
Joined: 02 Aug 2011, 09:21

C++ SDK for Visual Studio 2010

Post by mst »

Dear Support,

i'm using the C++ based OPC UA Client/Server SDK Bundle (for VS2008) and i wanted to migrate my implemented OPC-Client (under VS2008) to the Visual Studio 2010 because of project-specific reasons. If i convert the VS2008 project to a VS2010 project i get several \"unresolved external symbols\" errors in the libraries uaclient.lib, uabase.lib and uapki.lib.

Is there any SDK available for VS2010 in the near future or does someone know how to get the VS2008-SDK working under VS2010?

best regards,
mst
Last edited by mst on 07 Feb 2013, 10:48, edited 1 time in total.

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

Re:C++ SDK for Visual Studio 2010

Post by Support Team »

Hello!

First of all a SDK for Visual Studio 2010 is not intended, because most of all customers are using the Visual Studio 2008.
Anyhow it is possible to compile the SDK with every version of the Visual Studio even VS2010, but you have to have the source edition of the SDK, because you must recompile all libraries with the Visual Studio 2010 compiler.

There are some HowTos describing this in our forum. To migrate the SDK VS2008 to VS2010 there are two different ways. Either you open the *.sln file of the SDK with Visual Studio 2010 (so the Visual Studio will migrate all projects to the new Studio) or you use the CMake generator. This is described in the HowTo section \"Creating Visual Studio Project files for the SDK using CMake\" http://www.unified-automation.com/forum ... -cmake.htm.

But this is not all you have to do. You also have to compile the third-party libraries libxml2 and openssl with the Visual Studio 2010 compiler. This is also described in the HowTo section \"Compiling OpenSSL for Windows\" http://www.unified-automation.com/forum ... indows.htm and \"Compiling LibXml2 for Windows\" http://www.unified-automation.com/forum ... indows.htm.

best regards,
Support Team
Last edited by Support Team on 07 Feb 2013, 10:48, edited 1 time in total.
Best regards
Unified Automation Support Team

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

Re:C++ SDK for Visual Studio 2010

Post by Support Team »

Based on the above description you can compiler the SDK with any Visual Studio version.

But the next service release will provide a Visual Studio 2010 version as a default delivery.

Best regards
Support Team
Best regards
Unified Automation Support Team

Post Reply