Linker Errors

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

Moderator: uasdkcpp

Post Reply
gavinbaker
Jr. Member
Jr. Member
Posts: 3
Joined: 25 Jun 2024, 12:08

Linker Errors

Post by gavinbaker »

Hi, trying to upgrade the OPC UA SDK from version v1.7.9 to the latest version. I am getting the following linker errors. I know there have been changes to the _EVP_PKEY code.

Unresolved external symbols _EVP_PKEY_get_bits, _EVP_PKEY_get_base_id, _EVP_PKEY_eg and _EVP_PKEY_CTX_set_rsa_keygen_bits.

Any advice would be gratefully received.

Thanks,
Gavin.

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

Re: Linker Errors

Post by Support Team »

Hi,

please note that with v1.8.0 the C++SDK supports both the (old) OpenSSLv1.1.1 and new OpenSSLv3.0. Check in the CMake of the SDK which one you have selected to compile for, and make sure you have the correct OpenSSL installed on your host (CMake has look-up function).

Note: since v1.8.0 of the C++SDK ships without the OpenSSL, you must get it yourself (either get source and compile it yourself, OR get pre-ccompiled from e.g. Shining Light).
Best regards
Unified Automation Support Team

gavinbaker
Jr. Member
Jr. Member
Posts: 3
Joined: 25 Jun 2024, 12:08

Re: Linker Errors

Post by gavinbaker »

Hi,

Does anyone know where I can download a version of uapkicpp.lib that is complied with OpenSSL version 3.0. Tried compiling from OpenSSL source but to no avail. Any help is appreciated.

Regards,
Gavin Baker.

gavinbaker
Jr. Member
Jr. Member
Posts: 3
Joined: 25 Jun 2024, 12:08

Re: Linker Errors

Post by gavinbaker »

Sorry duplicate post.

Regards,
Gavin Baker.

Post Reply