SessionSecurityInfo has no member named initializePkiProvide

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

Moderator: uasdkcpp

Post Reply
i.Hill
Jr. Member
Jr. Member
Posts: 2
Joined: 31 Jan 2019, 10:00

SessionSecurityInfo has no member named initializePkiProvide

Post by i.Hill »

Hello Support Team,

as I am trying to compile the lesson04 from the examples this error is generated

Code: Select all

Fehler: »class UaClientSdk::SessionSecurityInfo« hat kein Element namens »initializePkiProviderOpenSSL«
While the http://documentation.unified-automation ... yInfo.html says it inhirts this member from the class UaClientSdk::ClientSecurityInfo.

The SDK was generated using the help tool buildSdk.sh so the option UASTACK_WITH_OPENSSL is disabled (OFF).

I am working on a Linux platform: SUSE Linux Enterprise Server 12 SP3.
The processor is 64bits but the SDK and examples are compield into 32bits version.

I appreciate your help

i.Hill
Jr. Member
Jr. Member
Posts: 2
Joined: 31 Jan 2019, 10:00

Re: SessionSecurityInfo has no member named initializePkiPro

Post by i.Hill »

The problem has been resolved by adding these configuration variables in toolchain file

Code: Select all

SET(OPENSSL_ROOT_DIR    "/pathe/to/the/folder/openssl")
SET(UASTACK_WITH_OPENSSL ON)

Post Reply