Page 1 of 1

SessionSecurityInfo has no member named initializePkiProvide

Posted: 04 Feb 2019, 16:16
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

Re: SessionSecurityInfo has no member named initializePkiPro

Posted: 05 Feb 2019, 11:00
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)